Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

scsi_mandat (8)

Name

scsi_mandat - check SCSI device support for mandatory commands

Synopsis

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

Description

SCSI_MANDAT(8)                     SG3_UTILS                    SCSI_MANDAT(8)



NAME
       scsi_mandat - check SCSI device support for mandatory commands

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

DESCRIPTION
       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.

OPTIONS
       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 work-
              ing directory.

       -q, --quiet
              the amount of output is reduced and typically only the pass/fail
              count is output.

       -v, --verbose
              increase level or verbosity.

EXIT STATUS
       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.

AUTHORS
       Written by D. Gilbert

COPYRIGHT
       Copyright (C) 2011-2013 Douglas Gilbert
       This  software is distributed under a FreeBSD license. There is NO war-
       ranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR  PUR-
       POSE.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | system/storage/sg3_utils |
       +---------------+--------------------------+
       |Stability      | Pass-through uncommitted |
       +---------------+--------------------------+

SEE ALSO
       sg_inq,sg_luns,sg_turs,sg_requests,sg_vpd,sg_senddiag (sg3_utils)



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source was downloaded from  http://sg.danny.cz/sg/p/sg3_utils-1.46.tgz.

       Further information about this software can be found on the open source
       community website at http://sg.danny.cz/sg/sg3_utils.html.



sg3_utils-1.36                     May 2013                     SCSI_MANDAT(8)