Using Conky - the Ultimate Linux System Monitor
Conky: The Light Weight but Powerful System Monitor for Linux
Given all of these advantages the obvious thing to do is to download Conky and try it out.
Installing Conky
You may want to download the latest version of Conky from sourceforge.net and then follow the instructions on Conky's documentation page to install it yourself, but in many Linux distributions this isn't necessary; if, for example, you have Debian, Suse or Ubuntu then log on as root (or use sudo) to run the command:
apt-get install conkyOr if you prefer you can use your disto's graphical interface to install Conky; for instance on Suse you may prefer to get Yast to do all of the hard work of installation for you. However, whichever way you prefer to use to install Conky the process is quick and easy, and in a very few minutes you'll be ready to run the application itself.
Starting Conky
Once you've gone through the installation process then next stage is to see what Conky looks like - and to do this you'll need to: start up an new console (such as Konsole or xterminal); type the work 'conky'. Conky should now open up in its own window, and you'll see that it displays such things as: the pc's name, operating system and parameters such as the system frequency; the amount of memory installed and how much of it is being used; how much of the CPU is being used and how many processes are being run; the status of the file system and the network;the top running processes.
However, the most exciting part comes when you start to configuring Conky to meet your own requirements.
Configuring Conky
When Conky starts it checks for two files: conkyrc - this is your personal configuration file, and lives in your home directory; conky.conf - Conky will only look for this if it can't find ~/.conkyrc and will be located somewhere like /etc/conky or /usr/local/etc/conky. The file ~/.conkyrc will not exist to start with, and so Conky will use conky.conf by default. You can, therefore, either copy conky.conf to ~/.conkyrc and then start modifying that, or you can create ~/.conkyrc from scratch - when you do that you must be aware of the fact that the file is divided into two sections: configuration and display.
The two sections must be separated by the TEXT key word, so that a simple ~/.conkyrc might contain:
alignment top_leftIf you now restarted Conky then you'd see something like the following displayed on the top left of your desktop, and updating itself every couple of seconds:
TEXT
CPU Usage: ${cpu}%
${color blue} ${top name 1} ${color red} ${top cpu 1} ${top mem 1}
${color blue} ${top name 2} ${color orange} ${top cpu 2} ${top mem 2}
${color blue} ${top name 3} ${color green} ${top cpu 3} ${top mem 3}
CPU Usage: 4%You can find a complete list of the Conky variables and how to use them on the Conky web site, and it would be well worth while spending some time looking at the contents of the conky.conf file to see how the variables are used.
Xorg 2.65 8.67
firefox-bin 1.32 38.49
conky 0.66 1.28
Customizing Conky
As well as the myriad of built in Conky variables that can be displayed on your desktop you can add custom information of your own - by making use of Conky's exec and execi variables - these both run any command that you want and then display the output, the only difference between them being that: exec runs the command whenever Conky updates; execi runs the command according to an interval that you set. If, for example, you wanted to check your Internet connection you could add:
${color white}
${execi 60 ping -c1 www.linuxtalk.co.uk}
ConclusionWe've seen that it's very easy to install, configure and customize Conky; and with the minimum of time and effort you can be up and running with a very light weight, but powerful, system monitor for Linux.
Published by Mark Alexander Bain
Medical Supplies Review: One Touch Ultra Versus True Track Smart SystemIf you have diabetes like me, chances are you spend a lot of money on diabetic supplies. One of the most important tools to keeping your diabetes in check is the glucose monitor...
Migrating to Ubuntu Linux from Microsoft WindowsIf Linux is to become an upgrade path for ordinary Windows users, at least one distribution has to be installable the way the ordinary computer user will install it. Is Ubuntu g...
Code to Help You Dress Up Your MySpace Page with Color, StyleFeel the need to flaunt your favorites in graphic form on MySpace? Do you think it's all about color? A little bit of CSS will let you decorate like a pro.- Inexpensive Homemade Blue Wedding FavorsThis article will provide you with ideas and instructions on creating three inexpensive homemade blue wedding favors.
- A Month-by-Month Review of the Top Stories of 2006Here's a rather unconventional and rather cynical look at the year that was.
- Pee-wee's Playhouse Returns to TV
- The Pee-wee Herman Show Live in Los Angeles
- Ten Celebrities I Hope We Never Have to See as Contestants on Dancing with the Stars
- An Ode to the Parrot Heads Among Us
- Purchasing or Leasing a Home Security System for First-Time Buyers
- Top Ten Songs by Enya
- Photoshop Icon & Blue and Silver Glass Checkmark Icon


