Package org.acemq.workloads.endurance
Class ProcessSampler.Proc
java.lang.Object
org.acemq.workloads.endurance.ProcessSampler.Proc
- All Implemented Interfaces:
ProcessSampler
- Enclosing interface:
ProcessSampler
Linux:
/proc/<pid>/status for VmRSS and Threads, and the entries of
/proc/<pid>/fd for descriptors. No subprocess per reading.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.acemq.workloads.endurance.ProcessSampler
ProcessSampler.Proc, ProcessSampler.PsLsof, ProcessSampler.Usage -
Method Summary
-
Method Details
-
sample
- Specified by:
samplein interfaceProcessSampler- Returns:
- what the process holds, or empty if it is not running
-