I'd like to monitor logged in sessions, include how they logged in (physical console or SSH), and how long that session has existed for.It seems like utmpdump /var/log/utmp has that information, but I can find't the documentation that explains all the fields. Can someone enlighten me?
How to interpret all fields of `utmpdump /var/log/utmp`
tty