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
-
Method Summary
Modifier and Type Method Description static Pair<java.lang.Long,java.lang.Long>
queryAvailableTotal()
Queries thesystem_pages
kstat and returns available and physical memory
-
Method Details
-
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.
-