diff options
author | Thorsten Kukuk <kukuk@suse.com> | 2023-06-16 09:28:21 +0200 |
---|---|---|
committer | Thorsten Kukuk <5908016+thkukuk@users.noreply.github.com> | 2023-08-28 14:55:56 +0200 |
commit | 801784ae89224d004dc79af95545acbdf547ce64 (patch) | |
tree | a168eac393325f52698cc2bc59bfccece86524c1 /plugins/utils.c | |
parent | 43131b73d69e77a3faee69814dac1bbc88162887 (diff) | |
download | monitoring-plugins-801784ae89224d004dc79af95545acbdf547ce64.tar.gz |
check_users: prefer systemd-logind over utmp
Prefer systemd-logind over utmp to get the number of logged in users.
utmp is not reliable for this (e.g. some terminals create utmp entries,
other not) and utmp is not Y2038 safe with glibc on Linux.
Diffstat (limited to 'plugins/utils.c')
0 files changed, 0 insertions, 0 deletions