Usage: sg_timestamp [--elapsed] [--help] [--hex] [--milliseconds=MS] [--no-timestamp] [--origin] [--raw] [--readonly] [--seconds=SECS] [--srep] [--verbose] [--version] DEVICE where: --elapsed|-e show time as ' days hh:mm:ss.xxx' where '.xxx' is the remainder milliseconds. Don't show ' days' if is 0 (unless '-e' given twice) --help|-h print out usage message, use twice for examples --hex|-H output response in ASCII hexadecimal --milliseconds=MS|-m MS set timestamp to MS milliseconds since 1970-01-01 00:00:00 UTC --no-timestamp|-N suppress output of timestamp --origin|-o show Report timestamp origin (def: don't) used twice outputs value of field 0: power up or hard reset; 2: SET TIMESTAMP --raw|-r output Report timestamp response to stdout in binary --readonly|-R open DEVICE read only (def: read/write) --seconds=SECS|-s SECS set timestamp to SECS seconds since 1970-01-01 00:00:00 UTC --srep|-S output Report timestamp in seconds (def: milliseconds) --verbose|-v increase verbosity --version|-V print version string and exit Performs a SCSI REPORT TIMESTAMP or SET TIMESTAMP command. The timestamp is SET if either the --milliseconds=MS or --seconds=SECS option is given, otherwise the existing timestamp is reported in milliseconds. The DEVICE stores the timestamp as the number of milliseconds since power up (or reset) or since 1970-01-01 00:00:00 UTC which also happens to be the time 'epoch'of Unix machines. Use '-hh' (the '-h' option twice) for examples.