sed? awk? or mak a program?# Unix - 噫吁兮,危乎高哉
c*t
1 楼
ps -aef | grep cogt
cogt 6998 6284 0 13:51:41 pts/38 0:00 server
cogt 6284 6281 0 13:28:04 pts/38 0:00 -ksh
cogt 7071 6284 0 13:53:46 pts/38 0:00 server 20089
cogt 7500 6284 0 14:06:40 pts/38 0:00 grep cogt
~
~
I try to kill -9 6998 7071.
What commandline can do this?
sed? awk? or make a program?
cogt 6998 6284 0 13:51:41 pts/38 0:00 server
cogt 6284 6281 0 13:28:04 pts/38 0:00 -ksh
cogt 7071 6284 0 13:53:46 pts/38 0:00 server 20089
cogt 7500 6284 0 14:06:40 pts/38 0:00 grep cogt
~
~
I try to kill -9 6998 7071.
What commandline can do this?
sed? awk? or make a program?