Module daemon

Module daemon 

Source
Expand description

Daemon health checks โ€” running state, uptime, memory, restarts.

Constantsยง

DAEMONS ๐Ÿ”’
All open-sesame systemd user units to check.

Functionsยง

checks
read_proc_status ๐Ÿ”’
Read a value from /proc/<pid>/status by key (e.g. โ€œVmRSSโ€). Returns the value in kB.
read_proc_uptime ๐Ÿ”’
Read process uptime from /proc/<pid>/stat and format as human-readable.
systemctl_prop ๐Ÿ”’
Read a property from a systemd user unit via systemctl --user show.