Class AixProcessState
java.lang.Object
oshi.software.common.os.unix.aix.AixProcessState
Maps AIX
pr_sname characters (from psinfo_t / lwpsinfo_t) to OSHI's OSProcess.State
enum. Shared between AixOSProcess and AixOSThread so both the JNA and FFM backends classify states
identically.-
Method Summary
Modifier and TypeMethodDescriptionstatic OSProcess.StategetStateFromOutput(char stateValue) Returns theOSProcess.Statecorresponding to thepr_snamecharacter from an AIXpsinfo_t/lwpsinfo_tstructure.
-
Method Details
-
getStateFromOutput
Returns theOSProcess.Statecorresponding to thepr_snamecharacter from an AIXpsinfo_t/lwpsinfo_tstructure.- Parameters:
stateValue-pr_snamecharacter ('O','R','A','I', …)- Returns:
- the matching
OSProcess.State
-