# ps -eo pid,cmd,lstart | head
PID CMD STARTED
1 /sbin/init Sat Jun 10 04:43:28 2017
2 [kthreadd] Sat Jun 10 04:43:28 2017
3 [migration/0] Sat Jun 10 04:43:28 2017
4 [ksoftirqd/0] Sat Jun 10 04:43:28 2017
5 [stopper/0] Sat Jun 10 04:43:28 2017
6 [watchdog/0] Sat Jun 10 04:43:28 2017
7 [migration/1] Sat Jun 10 04:43:28 2017
8 [stopper/1] Sat Jun 10 04:43:28 2017
9 [ksoftirqd/1] Sat Jun 10 04:43:28 2017
过滤进程
# ps -eo pid,cmd,lstart | grep 进程ID
个人站原文地址:http://www.itdouzi.com/linux-shell/6166.html