pylinux Package¶
pylinux Module¶
readproc Module¶
-
pylinux.readproc.cpuinfo()[source]¶ Return the information in /proc/cpuinfo as a dictionary in the following format: cpu_info[‘proc0’]={...} cpu_info[‘proc1’]={...}
-
pylinux.readproc.maps(pid)[source]¶ Returns the /proc/<pid>maps data as a machine consumable list of dictionary with each item having the following fields:
address permissions offset dev inode pathname
-
pylinux.readproc.pstree(pid)[source]¶ Find the process tree corresponding to a process with PID, pid
Shared libraries used by the process with the given PID