Ubuntu Geek

Ubuntu Linux Tips,Howtos&Tutorials|Feisty,Gutsy,Hardy,Intrepid

  • RSS Feed

    subscribe to the ubuntu Geek RSS feed


  • Sponsor

  • Categories

  • Meta

  • Sponsor

  • Archives

Monitoring Real-time user logins in ubuntu

Posted by admin on December 23rd, 2007 Email This Post Email This Post

Whowatch is an console, interactive users and process monitoring tool.It displays information about the users currently logged on to the machine, in real-time. Besides standard informations (login name, tty,host, userĂ¢s process), the type of the connection (ie. telnet or ssh) is shown. Display of users command line can be switch to tty idle time. Certain user can be selected and his processes tree may be viewed as well as tree of all system processes. Tree may be displayed with additional column that shows owner of each process. In the process tree mode SIGINT and SIGKILL signals can be sent to the selected process. Killing processes is just as simple and fun as deleting lines on the screen.

Install whowatch in ubuntu

sudo apt-get install whowatch

This will install all the required packages for whowatch

Using whowatch

Whowatch has no command line options or configuration file.

If you want to open the whowatch you need to run the following command

whowatch

Now you should see similar to the following screen

All actions are performed in real time by pressing following keys

up,down - cursor movement

i - toggle between user command line and idle time

c - full command line on/off. Disabling full command line can save CPU time. It can give you also some additional information about process executable.

enter - view selected users processes tree.

t - all system processes (init tree)

Tree mode:

up,down - cursor movement

enter - go back to users list

o - show processes owners

c - full command line on/off. Disabling full command line can save CPU time. It can give you also some additional information about process executable.

Ctrl-I - send INT signal to selected process

Ctrl-K - send KILL signal to selected process

s - It will provide the system details

d - Details about the user

Share/Save/Bookmark

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

Related Articles

One Response to “Monitoring Real-time user logins in ubuntu”

  1. kurnia Says:

    yup! this tutorial is great
    I’ve tried this to my own server

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>