public class ProcDataSource extends Object
| Constructor and Description |
|---|
ProcDataSource() |
| Modifier and Type | Method and Description |
|---|---|
Reader |
getCpuInfoReader()
Returns a reader for /proc/cpuinfo
|
Reader |
getCpuLoadReader()
Returns a reader for /proc/loadavg
|
Reader |
getEnvironReader(int pid)
Returns a reader for /proc/$PID/environ
|
Reader |
getMemInfoReader()
Returns a reader for /proc/meminfo
|
Reader |
getStatReader(int pid)
Returns a reader for /proc/$PID/stat
|
public Reader getCpuInfoReader() throws IOException
IOExceptionpublic Reader getCpuLoadReader() throws IOException
IOExceptionpublic Reader getMemInfoReader() throws IOException
IOExceptionpublic Reader getStatReader(int pid) throws IOException
IOExceptionpublic Reader getEnvironReader(int pid) throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.