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
IOException
public Reader getCpuLoadReader() throws IOException
IOException
public Reader getStatReader() throws IOException
IOException
public Reader getMemInfoReader() throws IOException
IOException
public Reader getStatReader(int pid) throws IOException
IOException
public Reader getStatusReader(int pid) throws IOException
IOException
public Reader getEnvironReader(int pid) throws IOException
IOException
Copyright © 2013. All Rights Reserved.