The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
1answer
305 views

Is there a tool for tracking uptimes across reboots?

A tool such as this might on the surface appear to serve no real useful purpose, but people that take care of systems like to brag, and uptime is just one of those things that they like to brag about ...
7
votes
5answers
7k views

Convert linux sysuptime to well format date

I want to display /proc/uptime in well format as: DD:HH:MM:SS /proc/uptime give me up time of system in seconds, is there a standard solution that convert seconds to this format?
3
votes
5answers
2k views

How to get a process uptime under different OS?

Under Linux I can get a process's uptime in seconds with: echo $(($(cut -d "." -f1 /proc/uptime) - $(($(cut -d " " -f22 /proc/$PID/stat)/100)))) But how can I get it under different OS? ex.: SunOS,...
12
votes
4answers
41k views

Bash script to detect when my server is down or offline

Background : I need to receive an alert when my server is down. When the server is down, maybe the Sysload collector will not be able to send any alert. To receive an alert when the server is down, I ...
2
votes
2answers
16k views

How to know why server keeps restarting?

It seems that my server keeps restarting. I want to know why. How can I know when the last time server was rebooted and why? root pts/0 139.193.156.125 Thu Aug 8 21:10 still logged in ...
4
votes
2answers
4k views

Uptime and who -b are showing different times when the system was last booted on Linux

I have a Linux system where it is showing to me two different times when the system was last booted. root@linux:~ # who -b; uptime system boot 2009-07-09 20:51 11:48am up 1 day 0:54, 1 ...
4
votes
1answer
113 views

How is uptime calculated?

I was wondering how uptime is calculated. Is it simply the difference between now and boot time? More specifically-- If I were to boot up, run for 5 minutes, and put the machine to sleep for a year; ...
4
votes
5answers
3k views

Finding computer uptime from first day until now

I need to find PC uptime from the day of installation until now. Is this logged somewhere? Does any file log this cumulative uptime?
0
votes
1answer
753 views

Understanding system load

I was looking at the system load of my shared hosting account. $ uptime 09:14:37 up 21 days, 5:38, 4 users, load average: 3.85, 4.96, 5.21 I'm not worried by the first and second values, they ...