使用ps命令查看进程启动时间 以你之姓@ 2022-10-16 08:45 477阅读 0赞 $ ps -eo pid,lstart,etime |grep 1516 $ 1516 Thu May 27 23:26:08 2021 01:53:57 > lstart STARTED time the command started. See also bsdstart, start, start\_time, and stime. > etime ELAPSED elapsed time since the process was started, in the form \[\[DD-\]hh:\]mm:ss. [https://man7.org/linux/man-pages/man1/ps.1.html][https_man7.org_linux_man-pages_man1_ps.1.html] [https_man7.org_linux_man-pages_man1_ps.1.html]: https://man7.org/linux/man-pages/man1/ps.1.html
还没有评论,来说两句吧...