sg_requests --version (return code: 0)
sg_requests: version: 1.26 20151219
sg_requests --help (return code: 0)
Usage: sg_requests [--desc] [--help] [--hex] [--maxlen=LEN] [--num=NUM]
[--progress] [--raw] [--status] [--time] [--verbose]
[--version] DEVICE
where:
--desc|-d set flag for descriptor sense format
--help|-h print out usage message
--hex|-H output in hexadecimal
--maxlen=LEN|-m LEN max response length (allocation length in cdb)
(def: 0 -> 252 bytes)
--num=NUM|-n NUM number of REQUEST SENSE commands to send (def: 1)
--progress|-p output a progress indication (percentage) if available
--raw|-r output in binary (to stdout)
--status|-s set exit status from parameter data (def: only set
exit status from autosense)
--time|-t time the transfer, calculate commands per second
--verbose|-v increase verbosity
--version|-V print version string and exit
Performs a SCSI REQUEST SENSE command