linux-进程相关

ps查看当前运行的进程

ps -ef|grep httpd ps是静态的

ps -aux|grep httpd

top 是动态的

 kill 杀进程  kill -[选项] 进程号

-9强制杀死

kill -9  2146 2014(多个进程中间加空格)

原文地址:https://www.cnblogs.com/lingxia/p/5882145.html