linux 查看程序是否运行

ps aux | grep  my_post | grep -v grep

root      3682  0.0  0.3  76068  3192 ?        S    13:00   0:00 curl -s http://www.cnblogs.com/zdz8207/

注:grep -v grep 是不显示grep查询这个进程

原文地址:https://www.cnblogs.com/sandea/p/4562880.html