1. ps axu 

 

2. 精确查看

for pid in $(pgrep httpd); do echo -n "${pid} " ; ps -p ${pid} -o lstart | grep -v "START" ; done  

 

相关文章: