Command reference
R&S
®
ZNA
1682User Manual 1178.6462.02 ─ 29
#
Indicates the start of the binary block
<Digits>
Decimal value
Gives the number of decimal digits used for the <Length>
value
<Length>
Decimal value
Number of bytes the follow in the <Binary data> part
<Binary data>
Binary data in ASCII format
For each storage device it returns:
<diskname>,<temperature>,<type>,<modelfamily>,
<model>,<serialnumber>,<id>,<firmwareversion>,
<capacity>,<sectorsize>,<rotationrate>,<formfactor>,
<ataversion>,<sataversion>,<smartdatatable>.
For each value of the smart data table it returns:
<id>,<attributename>,<dataflag>,<value>,
<worst>,<threshold>,<type>,<update>,
<whenfailed>,<rawvalue>
Example:
//Return storage information
DIAG:HUMS:STOR?
Returns for example:
#44620[{"name":"/dev/sda","temperature":
305,"type":"ata","modelFamily":null,"model":
"SanDisk SD9SB8W128G","serialNumber":
"000000000000","id":
"5 001b44 8b67d0a7d","firmwareVersion":
"A1234000","userCapacity":
128035676160,"sectorSizeLogical":
512,"sectorSizePhysical":512,"rotationRate":
"0","formFactor":"2.5 inches","ataVersion":
"ACS-4 T13/BSR INCITS 529 revision 5","sataVersion":
"SATA 3.3","smartDataTable":[{"id":
5,"attributeName":
"Reallocated_Sector_Ct","dataFlag":50,"value":
100,"worst":100,"threshold":0,"type":
"Old_age","updated":
"Always","whenFailed":null,"rawValue":0},{"id":
9,"attributeName":"Power_On_Hours","dataFlag":
50,"value":100,"worst":100,"threshold":
0,"type":"Old_age","updated":
"Always","whenFailed":null,"rawValue":16856}]
Usage:
Query only
HUMS and service date commands