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()
Returns a reader for /proc/stat.
|
Reader |
getStatReader(int pid)
Returns a reader for /proc/$PID/stat
|
Reader |
getStatusReader(int pid)
Returns a reader for /proc/$PID/status
|
public Reader getCpuInfoReader() throws IOException
IOExceptionpublic Reader getCpuLoadReader() throws IOException
IOExceptionpublic Reader getStatReader() throws IOException
IOExceptionpublic Reader getMemInfoReader() throws IOException
IOExceptionpublic Reader getStatReader(int pid) throws IOException
IOExceptionpublic Reader getStatusReader(int pid) throws IOException
IOExceptionpublic Reader getEnvironReader(int pid) throws IOException
IOExceptionCopyright © 2013. All Rights Reserved.