-
Have you ever wanted to check whoâs online right now, if thereâs any suspicious movement happening on your cloud?
-
Similar to unix who, follow live who is logged in with
â nc-who
â
I have completely reworked this script, which was originally created here
It has a completely revised output. Since it updates at an adjustable refresh rate with watch
, the formatted output from mysql was no longer usable. The solution was to output as html and back with html2text and sed in a usable, nice and neat format.
Nextcloud All-in-One is supported, containerized solutions other than AIO are not (yet) supported
This tool is primarily intended for administrators of Nextcloud instances with many users. Of course, this is not intended for small servers used in familiary circles. But they can also want to take a look and then the tool is not far:
Restriction: only for MySQL/MariaDB Supported databases: MySQL/MariaDB, PostgreSQL
This script was created with â ebtb â .
Install this way:
sudo wget -qO /usr/local/bin/nc-who https://global-social.net/script/nc-who
sudo chmod +x /usr/local/bin/nc-who
nc-who
Explanation:
- the first line downloads the script into the directory /usr/local/bin
- the second line makes it executable
You only need to install it once.
As all of my â ebtb â scripts, it comes signed and does an integrity check on the first run and checks for updates on every startup.
Simply run:
nc-who monitor
or
nc-who last
much luck with it.
ernolf