使用ps命令查看进程启动时间

$ 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

    原文作者:wt_better
    原文地址: https://blog.csdn.net/wt_better/article/details/117366571
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞