检查进程启动时间
ps -o lstart= -p the-pid$ ps aux | grep example_daemon
root 1458 1.2 0.0 59604 3772 ? SLl 23:25 0:20 /usr/lib/example_daemonps -o lstart= -p 1458Mon Mar 6 23:25:32 2017sh -c 'date +%T.%N; sleep 3; echo /proc/"$$"/xx*; sleep 3; stat -c %y "/proc/$$/cmdline"'参考
Last updated