---
name: "uptime"
section: "1"
platform: "macos"
package: "shell_cmds"
version: "329"
release: "macOS 26.5"
platforms: ["linux", "freebsd", "openbsd", "macos"]
url: "https://new.carta.tech/uptime"
---

# uptime(1)

show how long system has been running

## NAME

**uptime** – show how long system has been running

## SYNOPSIS

**uptime** \[**--libxo**\]

## DESCRIPTION

The **uptime** utility displays the current time, the length of time the system has been up, the number of users, and the load average of the system over the last 1, 5, and 15 minutes.

The following options are available:

- **--libxo**

  Generate output via [libxo(3)](/libxo/3.md) in a selection of different human and machine readable formats. See [xo\_options(7)](/xo_options/7.md) for details on command line arguments.

## EXAMPLES

```
$ uptime
11:23AM  up  3:01, 8 users, load averages: 21.09, 15.43, 12.79
```

## SEE ALSO

[w(1)](/w/1.md), [libxo(3)](/libxo/3.md), [xo\_options(7)](/xo_options/7.md)

## HISTORY

The **uptime** command appeared in 3.0BSD.
