Is it possible to see how many users are online at the moment? I would like to use this for stats.
I managed to get a SQL statement to count the number of users, but I did not manage to see how many users are online.
For my needs a bash command which only gives back a number or anything like this would be enough. I use Munin and can work with a bare number in a self written plugin.