SOHO : Small Office Home Office
Freeware - Opensource software tips, tricks, tweaks & fixes for managing, securing, improving the performance of SOHO Desktop, Laptop, Networks

Thursday, June 16, 2011

How to display memory, cpu and network usage on the panel in ubuntu 11.04?

Indicator-Sysmonitor is a system-monitor applet for Ubuntu, capable of displaying CPU, RAM and Network usage. After installation and configuring the result is as shown in the image above.

  1. sudo add-apt-repository ppa:alexeftimie/ppa
  2. sudo apt-get update
  3. sudo apt-get install indicator-sysmonitor
  4. sudo apt-get install dstat
  5. Download the code from  wget 

  • Create a folder called "scripts" in home folder 
  • Extract the code " tar -xvf sysmon_0.2.tar.gz "
  • Now open Indicator-Sysmonitor (it should show up as System Monitor Indicator in the menu), then click it on the panel and select "Preferences" and under "Use this command", enter this: "$HOME/scripts/sysmon " as shown in the image
  • Save and restart the application indicator
  • To restart, run this command in terminal " killall indicator-sysmonitor " (without quotes)
By default, the script displays the RAM and network usage. You can also display the CPU usage or any other combination (display the network usage only, display all: the CPU, ram and network, etc.). For this, open the script (run the following command in a terminal): " gedit ~/scripts/sysmon "

And on top of the file you'll see something like this:

What these do is pretty much obvious - change the items you want to be displayed on the panel to true and the rest to false. Feel free to tweak the script to display other stuff if you want.

No comments:

Post a Comment