Module pid1

Source
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§

Pid1Stats

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