Package oshi.driver.unix.solaris.kstat
Class SystemPages
- java.lang.Object
-
- oshi.driver.unix.solaris.kstat.SystemPages
-
@ThreadSafe public final class SystemPages extends java.lang.Object
Utility to query geom part list
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SystemPages()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Pair<java.lang.Long,java.lang.Long>
queryAvailableTotal()
Queries thesystem_pages
kstat and returns available and physical memoryprivate static Pair<java.lang.Long,java.lang.Long>
queryAvailableTotal2()
-
-
-
Method Detail
-
queryAvailableTotal
public static Pair<java.lang.Long,java.lang.Long> queryAvailableTotal()
Queries thesystem_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.
-
queryAvailableTotal2
private static Pair<java.lang.Long,java.lang.Long> queryAvailableTotal2()
-
-