java.lang.Object
oshi.driver.unix.aix.Lscfg
Utility to query lscfg
-
Method Summary
Modifier and TypeMethodDescriptionQuerylscfg -vp
to get all hardware devicesParse the output oflscfg -vp
to get backplane infoqueryModelSerial
(String device) Querylscfg -vl device
to get hardware info
-
Method Details
-
queryAllDevices
Querylscfg -vp
to get all hardware devices- Returns:
- A list of the output
-
queryBackplaneModelSerialVersion
Parse the output oflscfg -vp
to get backplane info- Parameters:
lscfg
- The output of a previous call tolscfg -vp
- Returns:
- A triplet with backplane model, serial number, and version
-
queryModelSerial
Querylscfg -vl device
to get hardware info- Parameters:
device
- The disk to get the model and serial from- Returns:
- A pair containing the model and serial number for the device, or null if not found
-