There are a lot of processes running on your Linux system. Here is a command that will let you know how long the process has been running:
#ps -eo "%p %c %t"|grep "sshd"
In response to the above command, you will get the following output:
2850 sshd 172-01:37:22
29532 sshd 125-09:07:10
In the above command %p is pid, %c is command and %t is elapsed time.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.