# man > SCSI_MANDAT(8)

[SCSI_MANDAT(8)](https://www.chedong.com/phpMan.php/man/SCSIMANDAT/8/markdown)                                SG3_UTILS                               [SCSI_MANDAT(8)](https://www.chedong.com/phpMan.php/man/SCSIMANDAT/8/markdown)



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

## 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 © 2011-2013 Douglas Gilbert
       This software is distributed under a FreeBSD license. There is NO warranty; not even for MER‐
       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## SEE ALSO
       **sg**___**inq,sg**___**luns,sg**___**turs,sg**___**requests,sg**___**vpd,sg**___**senddiag** **(sg3**___**utils)**



sg3_utils-1.36                                May 2013                                [SCSI_MANDAT(8)](https://www.chedong.com/phpMan.php/man/SCSIMANDAT/8/markdown)
