Thursday, April 30, 2009

How to monitor a system remotely using conky?


How to monitor a linux machine remotely using conky or just an "easy way"!

Here are the steps to remotely monitor a linux machine using conky. The example here is done on an Ubuntu Box.

1)Install conky on the system(remote server/system) you need to monitor

sudo apt-get install conky

2)Then install the "xauth" program onto the system(remote server/system) tunneling X (file server)

sudo apt-get install xauth

3)Then we have to edit the ssh server side file /etc/ssh/sshd_config and make sure "X11Forwarding yes" is enabled

4)Then from your local system , you can log into the remote system via SSH with the -X flag. Example:

ssh -X username@192.168.1.100

the user name should be the user of the (remote server/system)

5)once you are logged-in to the remote system, just type conky on the command prompt. You will be able to see the services like:-

  • uptime
  • frequency
  • RAM usage
  • SWAP usage
  • CPU usage
  • Processes
  • File systems:
  • Networking:
  • and currently running processes of the remote system
All in GUI on your local system. Happy Monitoring :)


thanks & regards
tell2humanlinux@gmail.com

0 comments:

Post a Comment