31-08-2010, 04:35 AM
Inorder to get the ProcessID (pid) of a process/daemon, open the terminal and just type:
For eg: I want to know the pid of conky inorder to kill it and its not coming in System Monitor somehow, then i will type this :
![[Image: pid.th.png]](http://img409.imageshack.us/img409/9236/pid.th.png)
![[Image: pid2.th.png]](http://img255.imageshack.us/img255/3571/pid2.th.png)
This is a very easy way to get rid of those applications that are not shown in System monitor and are not needed or they are eating too much of your resources such as compiz etc.
Njoy!!!
Quote:pid program-name
For eg: I want to know the pid of conky inorder to kill it and its not coming in System Monitor somehow, then i will type this :
Quote:pidof conky
sudo kill 5432
![[Image: pid.th.png]](http://img409.imageshack.us/img409/9236/pid.th.png)
![[Image: pid2.th.png]](http://img255.imageshack.us/img255/3571/pid2.th.png)
This is a very easy way to get rid of those applications that are not shown in System monitor and are not needed or they are eating too much of your resources such as compiz etc.
Njoy!!!