OS Manuals

/usr/bin/sg_safte

SCSI utilities for Linux, Unix and Windows

From sg3-utils 1.49-r3 (enterprise-packages), captured 2026-11-08 by running sg_safte --help (exit 0). permalink

Usage:  sg_safte [--config] [--devstatus] [--encstatus] [--flags] [--help]
                 [--hex] [--insertions] [--raw] [--usage] [--verbose]
                 [--version] DEVICE
  where:
    --config|-c         output enclosure configuration
    --devstatus|-d      output device slot status
    --encstatus|-s      output enclosure status
    --flags|-f          output global flags
    --help|-h           output command usage message then exit
    --hex|-H            output enclosure config in hex
    --insertions|-i     output insertion statistics
    --raw|-r            output enclosure config in binary to stdout
    --usage|-u          output usage statistics
    --verbose|-v        increase verbosity
    --version|-V        output version then exit

Queries a SAF-TE processor device
Options (11)
OptionDescriptionSource
-c, --configwill issues a Read Enclosure Configuration (READ BUFFER ID 0) cdb to the device, which returns a list of the enclosure hardware resources.man
-d, --devstatuswill issue a Read Device Slot Status (READ BUFFER ID 4) cdb to the device, which returns information about the current state of each drive or slot.man
-s, --encstatuswill issue a Read Enclosure Status (READ BUFFER ID 1) cdb to the device, which returns the operational state of the components.man
-f, --flagswill issue a Read Global Flags (READ BUFFER ID 5) cdb to the device, which read the most recent state of the global flags of the RAID processor device.man
-h, --helpoutput the usage message then exit.man
-H, --hexoutput the response to a READ BUFFER command in ASCII hex to stdout.man
-i, --insertionswill issue a Read Device Insertions (READ BUFFER ID 3) cdb to the device, which returns information about the number of times devices have been inserted whilst the RAID system was powered on.man
-r, --rawoutput the response to a READ BUFFER command in binary to stdout.man
-u, --usagewill issue a Read Usage Statistics (READ BUFFER ID 2) cdb to the device, which returns the information on total usage time and number of power-on cycles of the RAID device.man
-v, --verboseincrease the level of verbosity, (i.e. debug output).man
-V, --versionprint the version string and then exit.man
Exit status (1) from the manual page
0it is successful

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.