I would like to have a list of all users that are active on my Linux system, including those who have running but detached screen sessions. The
who command only shows me currently logged in users, but not users with detached screen sessions and the like.
I was contemplating parsing the output of
ps but that would also make a user show if if he has a cron job running.