public class PacctParser
extends java.lang.Object
/proc/[PID]/top
logging.Constructor and Description |
---|
PacctParser() |
public static java.util.Map parseLog(java.io.InputStream is) throws java.io.IOException
pacct
accounting file. See
include/linux/acct.h
for format.is
- the input stream to parsejava.io.IOException
- if an I/O error occurspublic static java.util.List getPPIDs(int pid, java.util.Map forkMap)
pid
- the PID to get the PPIDs forforkMap
- fork map