Usage for general access: sg_ses [--all] [--ALL] [--descriptor=DES] [--dev-slot-num=SN] [--eiioe=A_F] [--filter] [--get=STR] [--hex] [--index=IIA | =TIA,II] [--inner-hex] [--join] [--json[=JO]] [--js-file=JFN] [--maxlen=LEN] [--no-config] [--no-time] [--page=PG] [--quiet] [--raw] [--readonly] [--sas-addr=SA] [--status] [--verbose] [--warn] DEVICE where the main general access options are: --all|-a same as --join followed by remaining SES dpages --descriptor=DES|-D DES descriptor name (for indexing) --dev-slot-num=SN|--dsn=SN|-x SN device slot number (for indexing) --filter|-f filter out enclosure status flags that are clear use twice for status=okay entries only --get=STR|-G STR get value of field by acronym or position --help|-h print out usage message, use multiple times for more --index=IIA|-I IIA individual index ('-1' for overall) or element type abbreviation (e.g. 'arr'). A range may be given for the individual index (e.g. '2:5') --index=TIA,II|-I TIA,II comma separated pair: TIA is type header index or element type abbreviation; II is individual index ('-1' for overall) --join|-j group Enclosure Status, Element Descriptor and Additional Element Status pages. Use twice to add Threshold In page --json[=JO]|-J[=JO] output in JSON instead of plain text. Use --json=? for JSON help --page=PG|-p PG diagnostic page code (abbreviation or number) (def: 'ssp' [0x0] (supported diagnostic pages)) --sas-addr=SA|-A SA SAS address in hex (for indexing) --status|-s fetch status information (default action) The 'general access' usage fetches pages or fields from a SCSI enclosure. Use '-hh' (or more) for further usage patterns, '-hh' displays the 'control' usage. For examples see '-hhhh' . The term 'diagnostic page' is often abbreviated to 'dpage'.