Package org.acemq.workloads.endurance
Class ProcessSampler.PsLsof
java.lang.Object
org.acemq.workloads.endurance.ProcessSampler.PsLsof
- All Implemented Interfaces:
ProcessSampler
- Enclosing interface:
ProcessSampler
macOS and other Unixes:
ps -o rss=, lsof -p and ps -M, counted
exactly as scripts/soak.sh counted them so a report from either compares with the
other: every line lsof prints, header included, and every thread line ps prints after its
header.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.acemq.workloads.endurance.ProcessSampler
ProcessSampler.Proc, ProcessSampler.PsLsof, ProcessSampler.Usage -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PsLsof
public PsLsof()
-
-
Method Details
-
sample
- Specified by:
samplein interfaceProcessSampler- Returns:
- what the process holds, or empty if it is not running
-