uptime(1)

uptime1

Show how long system has been running

Usage

uptime [--libxo]

Overview

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) in a selection of different human and machine readable formats. See xo_options(7) for details on command line arguments.

Files

/boot/kernel/kernel

system name list

Examples

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

Releases

87 releases since FreeBSD 2.0.5-RELEASE; the text changed 38 times.

  1. 2.0.5–2.2.2
  2. 2.2.5–3.5.1
  3. 4.0–4.3
  4. 4.4–4.11
  5. 5.0–6.3
  6. 6.4
  7. 7.0
  8. 7.1
  9. 7.2
  10. 7.3
  11. 7.4
  12. 8.0
  13. 8.1
  14. 8.2
  15. 8.3
  16. 8.4
  17. 9.0
  18. 9.1
  19. 9.2
  20. 9.3
  21. 10.0
  22. 10.1
  23. 10.2
  24. 10.3
  25. 10.4
  26. 11.0
  27. 11.1
  28. 11.2
  29. 11.3
  30. 11.4
  31. 12.0
  32. 12.1
  33. 12.2
  34. 12.3
  35. 12.4
  36. 13.0–13.2
  37. 13.3–14.3
  38. 14.4–14.5
  39. 15.0–16.0

--libxo since FreeBSD 14.4-RELEASE.

History

The uptime command appeared in 3.0BSD.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.