Class Iostat

java.lang.Object
oshi.driver.unix.solaris.disk.Iostat

@ThreadSafe public final class Iostat extends Object
Utility to query iostat
  • Method Details

    • queryPartitionToMountMap

      public static Map<String,String> queryPartitionToMountMap()
      Query iostat to map partitions to mount points
      Returns:
      A map with partitions as the key and mount points as the value
    • queryDeviceStrings

      public static Map<String,Quintet<String,String,String,String,Long>> queryDeviceStrings(Set<String> diskSet)
      Query iostat to map detailed drive information
      Parameters:
      diskSet - A set of valid disk names; others will be ignored
      Returns:
      A map with disk name as the key and a quintet of model, vendor, product, serial, size as the value