Expand description
§pid1 module
pid1 uses procfs to get some statistics on Linux’s more important
process pid1. These metrics can help ensure newer systemds don’t regress
or show stange behavior. E.g. more file descriptors without more units.
Structs§
- Pid1
Stats - Process-level statistics for PID 1 (systemd) read from procfs. These metrics help detect regressions or anomalies in the init process itself. Ref: https://manpages.debian.org/buster/manpages/procfs.5.en.html
Enums§
Functions§
- get_
pid_ stats - Get procfs info on pid 1 - https://manpages.debian.org/buster/manpages/procfs.5.en.html
- update_
pid1_ stats - Async wrapper than can update PID1 stats when passed a locked struct