Up and downtime


Up and downtime are English terms used to indicate the period in which a computer system or network is available or not. The term down is often used when a website can not be reached temporarily, by maintenance or for other reasons. Minimizing downtime is the main task of a system operator.

Hazards

High uptime can be dangerous because you need to restart for some critical updates. Determine uptime

Linux

Using uptime

Linux system users can use the uptime program present on each distribution, the current time is displayed, the number of users and load averages for the past 1, 5 and 25 minutes: pi@raspberrypi ~ $ uptime 10:54:52 up 12 days, 20:20, 1 user, load average: 0.23, 0.28, 0.29 Using /proc/uptime

Shows how long the system is online without a restart $ cat /proc/uptime 350735.47 234388.90 Htop If the uptime is greater than 100 days, htop will add an exclamation point

Most UNIX systems know the command uptime, which displays the time since the system was last launched and indicates the system's load.

wiki