ps grep 不包括grep本身

ps aux | grep defunct| grep -v "grep"

 

-v参数含义为不包括

 

参考文章:

http://blog.csdn.net/hailangamy/article/details/7165194

posted @ 2012-02-17 14:30  hongweigg  阅读(128)  评论(0)    收藏  举报