ps 命令的小tip

显示httpd进程的pid
#ps -C httpd -o pid=
杀死所有httpd进程
#for pid in $(ps -C httpd -o pid=);do kill -9 $pid;done

Happy every day!

Good good study, day day up!


2006-05-23