Expand description
Procfs and process-introspection helpers.
These functions provide a small, Linux-oriented view into /proc for
callers that need process names, command lines, UIDs, or clock-tick
information without bringing in a broader process-inspection crate.
Structs§
- Proc
Status - A snapshot of process status information from procfs.
Functions§
- clock_
ticks_ per_ second - Return the number of clock ticks per second for the current system.
- parse_
proc_ status - Parse the contents of a
/proc/<pid>/statusfile. - read_
proc_ cmdline - Read process command line from
/proc/<pid>/cmdline. - read_
proc_ cmdline_ at - Read process command line from an explicit procfs root.
- read_
proc_ status - Read process status from
/proc/<pid>/status. - read_
proc_ status_ at - Read process status from an explicit procfs root.