uptime
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| uptime [2015/11/13 11:38] – luke7858 | uptime [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== Process Uptime ==== | ==== Process Uptime ==== | ||
| + | Find the process ID of the master (parent process), then: | ||
| <sxh bash> | <sxh bash> | ||
| - | ps -eo pid, | + | ls -ld /proc/3380 |
| </ | </ | ||
| + | Output looks like: | ||
| + | <sxh bash> | ||
| + | dr-xr-xr-x 8 root root 0 Nov 12 23:05 /proc/3380 | ||
| + | </ | ||
| + | or | ||
| + | <sxh bash> | ||
| + | ps -eo user, | ||
| + | </ | ||
| + | <sxh bash> | ||
| + | ps -eo user, | ||
| + | </ | ||
| + | Show JUST the master process: | ||
| + | < | ||
| + | ps -eo user, | ||
| + | </ | ||
| + | |||
| Output is simlar: | Output is simlar: | ||
| <sxh bash> | <sxh bash> | ||
| Line 23: | Line 40: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | ------------------------ | ||
| ==== Server uptime ==== | ==== Server uptime ==== | ||
| <sxh bash> | <sxh bash> | ||
| Line 32: | Line 50: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | ------------------------ | ||
| ==== Apache uptime ==== | ==== Apache uptime ==== | ||
| \\ | \\ | ||
| Line 55: | Line 74: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | ------------------------ | ||
| ==== mysql uptime ==== | ==== mysql uptime ==== | ||
| \\ | \\ | ||
uptime.1447414692.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
