3
I have some users running in linger mode on Ubuntu and Arch Linux systemd systems. Meaning, users' timers can be running even if they are not logged into the system. As a root user, how can I see all the timers active, including all of the users' timers?
systemctl list-timers
will give me the system timers.
If I am logged in as a user systemctl --user list-timers
will give me the timers for that user. However, if I run sudo -u anotheruser systemctl --user list-timers
then I get Failed to connect to bus: No such file or directory
.