User Tools

Site Tools


uptime

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
uptime [2016/02/03 08:11] luke7858uptime [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 9: Line 9:
 </sxh> </sxh>
 or or
-<sxh  bash> +<sxh bash> 
-ps -eo user,pid,cmd,etime,ppid | grep -v grep |grep http+ps -eo user,pid,cmd,etime,ppid | grep http
 </sxh> </sxh>
 <sxh bash> <sxh bash>
-ps -eo user,pid,cmd,etime | grep service+ps -eo user,pid,cmd,etime,ppid | grep service 
 +</sxh> 
 +Show JUST the master process: 
 +<sxh  bash> 
 +ps -eo user,pid,cmd,etime,ppid | grep -v grep | grep http | grep root
 </sxh> </sxh>
 +
 Output is simlar: Output is simlar:
 <sxh bash> <sxh bash>
uptime.1454487113.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki