Install whowatch on Ubuntu 20.04

Install whowatch on Ubuntu 20.04

The whowatch is a tool for monitoring users and processes via command line. It shows the currently logged in users and information about them such as login name, home directory, UUID, GID, and other. This tool enables to choose a particular user and view his processes tree.

This tutorial explains how to install whowatch on Ubuntu 20.04.

Install whowatch

Run the following command to update the package lists:

sudo apt update

Install whowatch:

sudo apt install -y whowatch

Testing whowatch

Run the whowatch command:

View currently logged in users with whowatch on Ubuntu

As we can see, the adminer user is currently logged in via SSH.

We can also view information of a particular user. With up and down arrows you can go through list. In order to see information about user, highlight the user and press d key.

View information about user with whowatch on Ubuntu

To quit details window, press d key once again.

Highlight the user and press Enter key to view user's processes tree.

View users processes tree with whowatch on Ubuntu

To return to user list, press Enter key once again.

Press CTRL+C to quit the whowatch.

Uninstall whowatch

If you decided to completely remove whowatch, execute the following command:

sudo apt purge --autoremove -y whowatch

Leave a Comment

Cancel reply

Your email address will not be published.