[Mono-devel-list] kill specific mono process

Fawad Halim fawad at fawad.net
Fri Jan 2 11:03:20 EST 2004


ps aux|grep 'Doc Conf Server.exe'|awk '{print $2;}'|xargs kill

-fawad

Subba Rao Thirumoorthy wrote:

>hi all,
>how do i specificly kill a certain mono process in linux
>after running ps -ef |grep mono
>i get all the process running which is..
>lets say i just want to kill the mono Doc Conf Server.exe
>how do i do it...
>if i use killall mono
>everything dies...
>i cant use the pid as this changes
>i tried killall mono Doc Conf Server.exe
>but doest work
>root      2564  2386  0 10:40 pts/1    00:00:00 mono Doc Conf Server.exe
>root      2565  2564  0 10:40 ?        00:00:00 mono Doc Conf Server.exe
>root      2566  2564  0 10:40 pts/1    00:00:00 mono Doc Conf Server.exe
>root      2567  2566  0 10:40 pts/1    00:00:00 mono Doc Conf Server.exe
>root      2569  2566  0 10:40 pts/1    00:00:00 mono Doc Conf Server.exe
>root      2570  2566  0 10:40 pts/1    00:00:00 mono Doc Conf Server.exe
>root      2571  2344  0 10:40 pts/0    00:00:00 mono MCSUpdateMainServer.exe
>root      2572  2571  0 10:40 pts/0    00:00:00 mono MCSUpdateMainServer.exe
>root      2573  2572  0 10:40 pts/0    00:00:00 mono MCSUpdateMainServer.exe
>root      2575  2572  0 10:40 pts/0    00:00:00 mono MCSUpdateMainServer.exe
>
>
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>  
>



More information about the Mono-devel-list mailing list