LUSDEBUG ( 8 ) Maintenance Procedures LUSDEBUG ( 8 ) NAME lusdebug − set library debugging level SYNOPSIS lusdebug debug-level DESCRIPTION The lusdebug command sets a debugging level for the underlying NetWorker SCSI device drivers. Debugging level 0 (zero) turns off debugging. Larger numbers enable greater levels of debugging. The lusdebug level can now be specified as a bitmask - bit X set will show messages that are set to show at debug level X+1. e.g. bit 0 set will cause messages at debug level 1 to be displayed. The exact level for any given message is listed at the end of the message in parentheses, such as (8) for a message displayed for debug level 8. Using the bitmask allows you to display any or all levels of debugging information. The old method only allowed you to set the highest level you wished to see - all levels lower that the selected level were always displayed, whether you wanted to see them or not. You may still specify debugging levels the old way using by using the values old1 through old9. The results will be displayed using the new bitmask format. Values can be entered in decimal (0 to 65535), hex (0x0 - 0xffff) or binary (0b0 - 0b1111111111111111). Zeros after the 0x or 0b prefixes are not required for binary or hex values. Values that old 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Values old 1 2 3 4 5 6 NetWorker 6.0.Build.67 correspond new decimal 1 3 7 15 31 63 127 255 511 1023 2047 4095 8191 16383 32767 65535 corresponding new decimal 1 2 4 8 16 32 to previous new hex 0x0001 0x0003 0x0007 0x000f 0x001f 0x003f 0x007f 0x00ff 0x01ff 0x03ff 0x07ff 0x0fff 0x1fff 0x3fff 0x7fff 0xffff to debug levels new binary 0x0000000000000001 0x0000000000000011 0x0000000000000111 0x0000000000001111 0x0000000000011111 0x0000000000111111 0x0000000001111111 0x0000000011111111 0x0000000111111111 0x0000001111111111 0x0000011111111111 0x0000111111111111 0x0001111111111111 0x0011111111111111 0x0111111111111111 0x1111111111111111 individual new hex 0x0001 0x0002 0x0004 0x0008 0x0010 0x0020 Last change: May 06, 2000 debug level are: are: new binary 0x0000000000000001 0x0000000000000010 0x0000000000000100 0x0000000000001000 0x0000000000010000 0x0000000000100000 1 LUSDEBUG ( 8 ) Maintenance Procedures 7 8 9 10 11 12 13 14 15 16 64 128 256 512 1024 2048 4096 8192 16384 32768 0x0040 0x0080 0x0100 0x0200 0x0400 0x0800 0x1000 0x2000 0x4000 0x8000 LUSDEBUG ( 8 ) 0x0000000001000000 0x0000000010000000 0x0000000100000000 0x0000001000000000 0x0000010000000000 0x0000100000000000 0x0001000000000000 0x0010000000000000 0x0100000000000000 0x1000000000000000 LIMITATIONS Invalid debug levels are quietly treated the same as debug level zero. Debug level values greater than 65535 (0xffff, binary 0x1111111111111111) will be treated as 65535 (0ffff, binary..oh, you get the idea...). NetWorker 6.0.Build.67 Last change: May 06, 2000 2