OS Manuals

/usr/bin/sg_sat_phy_event

SCSI utilities for Linux, Unix and Windows

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

Usage: sg_sat_phy_event [--ck_cond] [--extend] [--help] [--hex] [--ignore]
                        [--len=16|12] [--raw] [--reset] [--verbose]
                        [--version] DEVICE
  where:
    --ck_cond|-c    sets ck_cond bit in cdb (def: 0)
    --extend|-e     sets extend bit in cdb (def: 0)
    --help|-h       print this usage message then exit
    --hex|-H        output response in hex bytes, use twice for
                    hex words
    --ignore|-i     ignore identifier names, output id value instead
    --len=16|12 | -l 16|12    cdb length: 16 or 12 bytes (default: 16)
    --raw|-r        output response in binary to stdout
    --reset|-R      reset counters (after read)
    --verbose|-v    increase verbosity
    --version|-V    print version string then exit

Sends an ATA READ LOG EXT command via a SAT pass through to fetch
log page 11h which contains SATA phy event counters
Options (10)
OptionDescriptionSource
--len, -l 16|12this is the length of the SCSI cdb used for the ATA PASS-THROUGH commands.help + man
-c, --ck_condsets the CK_COND bit in the ATA PASS-THROUGH SCSI cdb. (in the manual page but not in --help)man
-e, --extendsets the EXTEND bit in the ATA PASS-THROUGH SCSI cdb. (in the manual page but not in --help)man
-h, --helpoutputs the usage message summarizing command line options then exits. (in the manual page but not in --help)man
-H, --hexoutputs the ATA READ LOG EXT response in hex. (in the manual page but not in --help)man
-i, --ignoreusually the phy counter identifier names are decoded. (in the manual page but not in --help)man
-r, --rawoutput the ATA READ LOG EXT response in binary. (in the manual page but not in --help)man
-R, --resetreset the counters after the current values are returned, decoded and displayed. (in the manual page but not in --help)man
-v, --verboseincreases the level or verbosity. (in the manual page but not in --help)man
-V, --versionprint out version string (in the manual page but not in --help)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.