Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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  ap-
	      pended 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 ex-
       pected.

AUTHORS
       Written by D. Gilbert

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

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)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=scsi_mandat&sektion=8&manpath=FreeBSD+Ports+14.3.quarterly>

home | help