Usage: sg_sat_read_gplog [--address=LA_L] [--ck_cond] [--count=CO] [--dma] [--help] [--hex] [--len=CDB_LEN] [--log=LA_L] [--ppt=PPT] [--readonly] [--smart] [--verbose] [--version] DEVICE where: --address=LA_L | -a LA_L same as --log=LA_L option below --ck_cond | -C set ck_cond field in pass-through (def: 0) --count=CO | -c CO count of page numbers to fetch (def: 1) --dma | -d Use READ LOG DMA EXT (def: READ LOG EXT) --help | -h output this usage message --hex | -H output response in hex bytes, -HH yields hex words + ASCII (def), -HHH hex words only --len=CDB_LEN | -l CDB_LEN cdb length: 12, 16 or 32 bytes (def: 16) --log=LA_L | -L LA_L Log address, log address range or list of ... See below for syntax --page=PN|-p PN Log page number within address (def: 0) --ppt=PPT|-P PPT pages per transfer (def: 64) --readonly | -r open DEVICE read-only (def: read-write) --smart | -s send the ATA SMART READ LOG command instead --verbose | -v increase verbosity recommended if DEVICE is ATA disk --version | -V print version string and exit Sends an ATA READ LOG (DMA) EXT or a SMART READ LOG command via a SAT pass-through to fetch one or more General Purpose (GP) or SMART log pages. Each page is accessed via a log address (LA) and then a page number within that address. Multiple log addresses can be given in the LA_L argument to the --address= and --log= options. It may contain a comma separated list with each element either being a single LA or a range with this format: 'lo:hi'. LA_R syntax summary: lo:hi,lo2:hi2,lo3:hi3,...