Feb-13-2017, 02:33 PM
You don't specify if these are Linux, Windows, xBSD or a combination. Once you've logged in, you could use Python's subprocess module and use the OS's tools to gather that information. For instance, a quick search for "how can i find the number of users online in linux" resulted in this first entry http://superuser.com/questions/13043/how...e-in-linux
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition