java.lang.Object
oshi.driver.unix.aix.Lscfg
Utility to query lscfg
-
Method Summary
Modifier and TypeMethodDescriptionQuerylscfg -vpto get all hardware devicesParse the output oflscfg -vpto get backplane infoqueryModelSerial(String device) Querylscfg -vl deviceto get hardware info
-
Method Details
-
queryAllDevices
Querylscfg -vpto get all hardware devices- Returns:
- A list of the output
-
queryBackplaneModelSerialVersion
Parse the output oflscfg -vpto 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 deviceto 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
-