Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

uptime

v0.13.0
uptime [OPTION]...

Afficher l’heure actuelle, la durée pendant laquelle le système a été actif, le nombre d’utilisateurs sur le système, et le nombre moyen de tâches dans la file d’attente d’exécution au cours des 1, 5 et 15 dernières minutes.

Options

--since, -s

system up since

--pretty, -p

show uptime in pretty format

file to search boot time from

Examples

The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.

Print current time, uptime, number of logged-in users, and other information:

uptime

Show only the amount of time the system has been booted for:

uptime {{[-p|--pretty]}}

Print the date and time the system booted up at:

uptime {{[-s|--since]}}

Display the time data in seconds:

uptime {{[-r|--raw]}}

Display version:

uptime {{[-V|--version]}}

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.