Class SystemPages

java.lang.Object
oshi.driver.unix.solaris.kstat.SystemPages

@ThreadSafe public final class SystemPages extends Object
Utility to query geom part list
  • Method Details

    • queryAvailableTotal

      public static Pair<Long,Long> queryAvailableTotal()
      Queries the system_pages kstat and returns available and physical memory
      Returns:
      A pair with the available and total memory, in pages. Mutiply by page size for bytes.