GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SCSI_MANDAT(8) SG3_UTILS SCSI_MANDAT(8)

scsi_mandat - check SCSI device support for mandatory commands

scsi_mandat [--help] [--log] [--quiet] [--verbose] DEVICE

This bash shell script calls several SCSI commands on the given DEVICE. These SCSI commands are considered mandatory (although that varies a little depending on which standard/draft the DEVICE complies with). The results of each test and a pass/fail count are output.

Arguments to long options are mandatory for short options as well.
-h, --help
print out the usage message then exit.
-L, --log
the output to stderr (from each SCSI command executed) is appended to a file called 'scsi_mandat.err' in the current working directory.
-q, --quiet
the amount of output is reduced and typically only the pass/fail count is output.
-v, --verbose
increase level or verbosity.

The exit status of this script is the number of "bad" errors found. So an exit status of 0 means all mandatory SCSI commands worked as expected.

Written by D. Gilbert

Copyright © 2011-2013 Douglas Gilbert
This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

sg_inq,sg_luns,sg_turs,sg_requests,sg_vpd,sg_senddiag (sg3_utils)
May 2013 sg3_utils-1.36

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.