uptime
Uptime is a measure of system reliability, expressed as the period of time a machine, typically a computer, has been continuously working and available.[src] Uptime is the opposite of downtime.[src] adds an exclamation mark when uptime is longer than 100 days.[src] It is often used as a measure of computer operating system reliability or stability, in that this time represents the time a computer can be left unattended without crashing or needing to be rebooted for administrative or maintenance purposes.[src] Conversely, long uptime may indicate negligence, because some critical updates can require reboots on some platforms.[src]
Uptime is a measure of system reliability, expressed as the period of time a machine, typically a computer, has been continuously working and available.[src] Uptime is the opposite of downtime.[src] adds an exclamation mark when uptime is longer than 100 days.[src] It is often used as a measure of computer operating system reliability or stability, in that this time represents the time a computer can be left unattended without crashing or needing to be rebooted for administrative or maintenance purposes.[src] Conversely, long uptime may indicate negligence, because some critical updates can require reboots on some platforms.[src] ==Records== In 2005, Novell reported a server with a 6-year uptime.[src] This level of uptime is common when servers are maintained under an industrial context and host critical applications such as banking systems.[src] Netcraft maintains the uptime records for many thousands of web hosting computers.[src] A server running Novell NetWare has been reported to have been shut down after 16 years of uptime due to a failing hard disk.[src] ==Determining system uptime== ==== Using uptime==== Most Unix-like systems including Linux, FreeBSD, Mac OS X, and SySVr4 have the uptime command.[src] It also displays the system load averages for the past 1, 5, and 15-minute intervals: user@Linux$ uptime 18:17:07 up 68 days, 3:57, 6 users, load average: 0.16, 0.07, 0.06 user@BSD$ uptime 3:01AM up 69 days, 7:53, 0 users, load averages: 0.08, 0.07, 0.05 This command originated in 3.0BSD and has become ubiquitous among Unix systems ever since.[src] Despite almost always providing the same collection of information and being so ubiquitous, it is not part of any Unix-related standard, neither SUS nor POSIX.[src] On Linux, an uptime command is part of GNU coreutils, BusyBox and Toybox.[src] On BSD, the uptime command is hard link to the w program.[src] The w program is based on the RSTS/E, TOPS-10, and TOPS-20 SYSTAT program.[src] $ cat /proc/uptime 350735.47 234388.90 The first number is the total number of seconds the system has been up.[src] The second number is how much of that time the machine has spent idle, in seconds.[src] On multi-core systems (and some Linux versions) the second number is the sum of the idle time accumulated by each CPU.[src] The C API for uptime information is .[src] $ sysctl kern.boottime kern.boottime: { sec = 1271934886, usec = 667779 } Thu Apr 22 12:14:46 2010 macOS also provides the uptime as , a POSIX interface with implementation-defined starting point; macOS sets the starting point at system boot.[src] and are additional ways to access the same raw monotonic clock.[src] On FreeBSD (but not macOS), the kernel exports three symbols that can be used as variables in C to obtain the boot time and uptime.[src] They are called , , and .[src] These require no function call at all to use, unlike .[src] Higher-precision uptime is provided from functions such as .[src] ===Microsoft Windows=== ====Windows Task Manager==== Task Manager Performance tab screenshot Some versions of Microsoft Windows include an uptime field in Windows Task Manager, under the "Performance" tab.[src] The format is D:HH:MM:SS (days, hours, minutes, seconds).[src] ====systeminfo==== The output of the systeminfo command includes a "System Up Time" or "System Boot Time" field.[src] C:\>systeminfo | findstr "Time:" System Up Time: 0 days, 8 hours, 7 minutes, 19 seconds The exact text and format are dependent on the language and locale.[src] The time given by systeminfo is not reliable.[src] It does not take into account time spent in sleep or hibernation.[src] Thus, the boot time will drift forward every time the computer sleeps or hibernates.[src] ====NET command==== The NET command with its STATISTICS sub-command provides the date and time the computer started, for both the NET STATISTICS WORKSTATION and NET STATISTICS SERVER variants.[src] The command NET STATS SRV is shorthand for NET STATISTICS SERVER .[src] The exact text and date format is dependent on the configured language and locale.[src] C:\>NET STATISTICS WORKSTATION | findstr "since" Statistics since 8/31/2009 8:52:29 PM ====Windows Management Instrumentation (WMI)==== Uptime can be determined via Windows Management Instrumentation (WMI), by querying the LastBootUpTime property of the Win32_OperatingSystem class.[src] At the command prompt, this can be done using the wmic command: C:\>wmic os get lastbootuptime LastBootUpTime 20110508161751.822066+060 The timestamp uses the format yyyymmddhhmmss.nnn , so in the above example, the computer last booted up on 8 May 2011 at 16:17:51.822.[src] The text "LastBootUpTime" and the timestamp format do not vary with language or locale.[src] WMI can also be queried using a variety of application programming interfaces, including VBScript or PowerShell.[src] ====Uptime.exe==== Microsoft formerly provided a downloadable utility called Uptime.exe , which reports elapsed time in days, hours, minutes, and seconds.[src] C:\>Uptime SYSTEMNAME has been up for: 2 day(s), 4 hour(s), 24 minute(s), 47 second(s) The time given by Uptime.exe is not reliable.[src] It does not take into account time spent in sleep or hibernation.[src] Thus, the boot time will drift forward every time the computer sleeps or hibernates.[src] ===FreeDOS=== The uptime command is also available for FreeDOS.[src] The version was developed by M.[src] Aitchison.[src] ===OpenVMS=== On OpenVMS systems, the show system command can be used at the DCL command prompt to obtain the system uptime.[src] The first line of the resulting display includes the system's uptime, displayed as days followed by hours:minutes:seconds.[src] In the following example, the command qualifier /noprocess suppresses the display of per-process detail lines of information.[src] $ show system/noprocess OpenVMS V7.3-2 on node JACK 29-JAN-2008 16:32:04.67 Uptime 894 22:28:52 The command output above shows that node JACK on 29 January 2008 at 16:32:04.67 has an uptime of 894 days 22 hours 28 minutes and 52 seconds.[src] ==See also== Availability List of POSIX commands Maintenance window System profiler – can allow remote estimation of uptime Website monitoring Who (Unix) – can display the time the system was booted ==References==[src]
56 sentences · 56 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"uptime." encyclopegia.org, 2026, https://encyclopegia.org/wiki/uptime. Accessed 25 November 2026.
Chicago
"uptime." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/uptime.
APA
encyclopegia.org. (2026). uptime. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/uptime
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON