Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

scsi_logging_level(8) [centos man page]

SCSI_LOGGING_LEVEL(8)						     SG3_UTILS						     SCSI_LOGGING_LEVEL(8)

NAME
scsi_logging_level - access Linux SCSI logging level information SYNOPSIS
scsi_logging_level [--all=LEV] [--create] [--error=LEV] [--get] [--help] [--highlevel=LEV] [--hlcomplete=LEV] [--hlqueue=LEV] [--ioctl=LEV] [--llcomplete=LEV] [--llqueue=LEV] [--lowlevel=LEV] [--midlevel=LEV] [--mlcomplete=LEV] [--mlqueue=LEV] [--scan=LEV] [--set] [--time- out=LEV] [--version] DESCRIPTION
This bash shell script accesses the Linux SCSI subsystem logging level. The current values can be shown (e.g. with --get) or changed (e.g. with --set). Superuser permissions will typically be required to set the logging level. One of these options: --create, --get or --set is required. Only one can be given. OPTIONS
Arguments to long options are mandatory for short options as well. -a, --all=LEV LEV is used for all SCSI_LOG fields. -c, --create Options are parsed and placed in internal fields that are displayed but no logging levels are changed within the Linux kernel. -E, --error=LEV LEV is placed in the SCSI_LOG_ERROR field. -g, --get Fetches the current SCSI logging levels from the Linux kernel and displays them. -h, --help print out the usage message then exit. -H, --highlevel=LEV LEV is placed in the SCSI_LOG_HLQUEUE and SCSI_LOG_HLCOMPLETE fields. --hlcomplete=LEV LEV is placed in the SCSI_LOG_HLCOMPLETE field. --hlqueue=LEV LEV is placed in the SCSI_LOG_HLQUEUE field. -I, --ioctl=LEV LEV is placed in the SCSI_LOG_IOCTL field. --llcomplete=LEV LEV is placed in the SCSI_LOG_LLCOMPLETE field. --llqueue=LEV LEV is placed in the SCSI_LOG_LLQUEUE field. -L, --lowlevel=LEV LEV is placed in the SCSI_LOG_LLQUEUE and SCSI_LOG_LLCOMPLETE fields. -M, --midlevel=LEV LEV is placed in the SCSI_LOG_MLQUEUE and SCSI_LOG_MLCOMPLETE fields. --mlcomplete=LEV LEV is placed in the SCSI_LOG_MLCOMPLETE field. --mlqueue=LEV LEV is placed in the SCSI_LOG_MLQUEUE field. -S, --scan=LEV LEV is placed in the SCSI_LOG_SCAN field. -s, --set Uses the fields specified in this command's options and attempts to apply them to the Linux SCSI subsystem logging levels. Typically superuser permissions will be required to do this. -T, --timeout=LEV LEV is placed in the SCSI_LOG_TIMEOUT field. -v, --version Outputs the version information and then exits. NOTES
The --get and --set options access the /proc/sys/dev/scsi/logging_level pseudo file. EXIT STATUS
The exit status of this script is 0 when it is successful. Any other exit status indicates that an error has occurred. AUTHORS
Written by IBM. Small alterations by Douglas Gilbert. REPORTING BUGS
Report bugs to <dgilbert at interlog dot com>. COPYRIGHT
Copyright (C) IBM Corp. 2006 This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. The software was obtained from an IBM package called s390-tools-1.6.2 found on that company's "developerworks" site. The most recent ver- sion of that package at this time is 1.8.3 . sg3_utils-1.36 May 2013 SCSI_LOGGING_LEVEL(8)

Check Out this Related Man Page

SG_EMC_TRESPASS(8)						     SG3_UTILS							SG_EMC_TRESPASS(8)

NAME
sg_emc_trespass - Changes ownership of a LUN from another Service-Processor to this one. SYNOPSIS
sg_emc_trespass [-d] [-hr] [-s] [-V] DEVICE DESCRIPTION
sg_emc_trespass sends an EMC-specific Trespass Command to the DEVICE with the selected options. This Mode Select changes the ownership of the LUN of the device from another Service-Processor to the one the command was received on. OPTIONS
Arguments to long options are mandatory for short options as well. -d outputs some extra debug information associated with executing this command -hr Sets the 'Honor Reservation' bit in the command. If set, the trespass will only succeed to change the ownership from the Peer SP if the Peer SP does not have an outstanding SCSI reservation for the LUN. By default, the reservation state will be ignored. -s Send the short version of the trespass command instead of the long version. The short version is supported on the EMC FC5300, FC4500 and FC4700. The long version (default) is supported on the CLARiiON CX and AX family arrays. -V print out version string then exit. In the 2.4 series of Linux kernels the DEVICE must be a SCSI generic (sg) device. In the 2.6 series block devices (e.g. SCSI disks and DVD drives) can also be specified. For example "sg_start 0 /dev/sda" will work in the 2.6 series kernels. EXIT STATUS
The exit status of sg_emc_trespass is 0 when it is successful. Otherwise see the sg3_utils(8) man page. AUTHOR
Written by Lars Marowsky-Bree, based on sg_start. REPORTING BUGS
Report bugs to <dgilbert at interlog dot com>. COPYRIGHT
Copyright (C) 2004 Lars Marowsky-Bree, Douglas Gilbert. This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. sg3_utils-1.23 January 2007 SG_EMC_TRESPASS(8)
Man Page