uptime — tell how long the system has been running


uptime [OPTION...] [FILE]


Print the current time, the length of time the system has been up, the number of users on the system, and the average number of jobs in the run queue over the last 1, 5 and 15 minutes. Processes in an uninterruptible sleep state also contribute to the load average. If FILE is not specified, use /var/run/utmp. /var/log/wtmp as FILE is common.


display this help and exit


output version information and exit


Written by Joseph Arceneaux, David MacKenzie, and Kaveh Ghazi.


Report uptime bugs to bug−

GNU coreutils home page: <>

General help using GNU software: <>

Report uptime translation bugs to <>


The full documentation for uptime is maintained as a Texinfo manual. If the info and uptime programs are properly installed at your site, the command

  • info coreutils 'uptime invocation'

should give you access to the complete manual.


Copyright © 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <>.

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.