Class Auxv
java.lang.Object
oshi.util.driver.linux.proc.Auxv
Constants and shared logic for the Linux auxiliary vector (
/proc/self/auxv).- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceReads a native-long value from aByteBufferand returns it as a Javalong. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionqueryAuxv(Auxv.NativeLongReader reader) Retrieve the auxiliary vector for the current process.
-
Field Details
-
AT_NULL
public static final int AT_NULLend of vector- See Also:
-
AT_PAGESZ
public static final int AT_PAGESZsystem page size- See Also:
-
AT_HWCAP
public static final int AT_HWCAParch dependent hints at CPU capabilities- See Also:
-
AT_CLKTCK
public static final int AT_CLKTCKfrequency at which times() increments- See Also:
-
-
Method Details
-
queryAuxv
Retrieve the auxiliary vector for the current process.- Parameters:
reader- a function that reads a native-long from aByteBuffer- Returns:
- A map of auxiliary vector keys to their respective values
- See Also:
-