ps -ef |grep xxx # 先查找进程pid
ps -wo pid,lstart -p {pid}
本文介绍如何使用ps命令结合grep在Linux环境下查找特定进程的PID及其启动时间。通过ps-ef|grepxxx命令定位进程,再利用ps-wopid,lstart-p{pid}
ps -ef |grep xxx # 先查找进程pid
ps -wo pid,lstart -p {pid}
转载于:https://www.cnblogs.com/linkenpark/p/10286627.html

被折叠的 条评论
为什么被折叠?
