I tried using both yum and dnf, but it seems like I couldn’t find the xprintidle program. I wanted to ask if there is another way to install it or if you have any alternative program recommendations?
The output of loginctl
has columns ‘state’, ‘idle’, and ‘since’ (but I haven’t quite figured out what they do tell).
Yes. I typing command loginctl
but “idle” columns is “no” status and “since” is nothing value.
I can see other than “no”, but don’t know when.
hosta | CHANGED | rc=0 >>
SESSION UID USER SEAT TTY STATE IDLE SINCE
189 1001 joe seat0 n/a active yes 6 days ago
199 1002 john seat0 n/a online yes 1 week 1 day ago
208 0 root pts/2 active no
3 sessions listed.
hostb | CHANGED | rc=0 >>
SESSION UID USER SEAT TTY STATE IDLE SINCE
208 1003 james seat0 tty2 active no
232 0 root pts/13 active no
89 1004 jane seat0 tty3 online yes 20h ago
3 sessions listed.