Package oshi.hardware.platform.linux
Class LinuxDisks
java.lang.Object
oshi.hardware.platform.linux.LinuxDisks
@ThreadSafe public final class LinuxDisks extends java.lang.Object
Linux hard disk implementation.
-
Method Summary
Modifier and Type Method Description static HWDiskStore[]getDisks()Gets the disks on this machinestatic booleanupdateDiskStats(HWDiskStore diskStore)Updates the statistics on a disk store.
-
Method Details
-
getDisks
Gets the disks on this machine- Returns:
- an array of
HWDiskStoreobjects representing the disks
-
updateDiskStats
Updates the statistics on a disk store.- Parameters:
diskStore- theHWDiskStoreto update.- Returns:
trueif the update was (probably) successful.
-