Using system tools – whowatch
While keeping a watch on the network, the administrator would also like to keep a watch on the users who are currently logged on to the system and also what each user is doing on the machine.
Whowatch is the perfect tool for such tasks. It uses a simple text-based interface which is easy to use and can display information about the user's username, processes, and so on, and also the type of connection , such as SSH and telnet.
Getting ready
Since Whowatch doesn't come as a pre-installed package in Linux, we have to install it to use it. The command to install whowatch is as follows:
apt-get install whowatch
How to do it...
For utilizing the Whowatch tool to its maximum benefit, we have to understand the details of the tool properly:
- To start using the tool, just enter the
whowatch
command, and a screen will appear as follows:
The preceding screen lists all the user accounts that are logged in.
- From this list, we can select any user account, and when we press Enter, we...