Search this site

Monday, March 19, 2012

Task Manager for Ubuntu Linux!!


For a Windows user who recently migrated to Ubuntu Linux, Gnome System Monitor is a similar tool to Windows Task Manager.

Gnome System Monitor (from http://freecode.com/projects/gnome-system-monitor) is a GNOME process viewer and system monitor with a nice easy-to-use interface, It has some nice features, such as a tree view for process dependencies, icons for processes, the ability to hide processes that you don't want to see, graphical time histories of CPU/memory/swap usage, the ability to kill/renice processes needing root access, as well as the standard features that you might expect from a process viewer.

It is generally available as default to Linux Distribution, else you can install by typing following command in terminal:

$ sudo apt-get install gnome-system-monitor

To run:

$ sudo gnome-system-monitor

You can also run System Monitor from dashboard:



Tip: To view all processes, go toViewand selectAll Processes:


Tip: If you try too stop./end/kill some processes with gnome system monitor : it gives error: operation is not permitted


solution run it through terminal: sudo gnome-system-monitor




Search/find files from terminal in Ubuntu Linux ?

1. Searching Files by names (“-name” option)
To search all “myfav.mp3” file in '/home' directory:

sudo find /home -name 'myfav.mp3'


To search all MP3 files in '/home' directory:
sudo find /home -name '*.mp3'


To do case-sensitive search use “-iname option”:
sudo find /home -iname '*.mp3'

2. Searching Files by Size (“-size” option)

Search all “.avi” files of size greater than 200 Mega Byte:
sudo find /home -name '*.avi' -size +200M

Search all “.avi” files of size lesser than 200 Mega Byte:
sudo find /home -name '*.avi' -size -200M

3. Searching Files by access time (“-atime” option)

Search all “.avi” files how all files that have not been accessed in the “/home” directory for 10 days or more:

sudo find /home -name '*.avi' -atime +30

4.
Searching multiple Files (“-o” option: “OR” operation)

To search myfav1.mp3 OR myfav2.mp3 in “/home” directory:
sudo find /home -name 'myfav.mp3' -o -name 'myfav.mp3'