LinuxProcessInfo¶
-
public class
LinuxProcessInfo
extends PortableProcessInfo¶ Linux-optimized implementation of process info interface.
- Author
swrede, jwienke
Constructors¶
LinuxProcessInfo¶
-
public
LinuxProcessInfo
()¶ Creates a new instance and initializes provided variables from default file paths.
LinuxProcessInfo¶
-
public
LinuxProcessInfo
(File cmdLineFile, File globalStatFile, File procStatFile)¶ Creates a new instance with specified files from the proc filesystem.
- Parameters
cmdLineFile – path to the /proc/cmdline file
globalStatFile – path to the /proc/stat file (system stats)
procStatFile – path to the /proc/self/stat file (process stats)