21.7 uptime: Print system uptime and load
uptime
prints the current time, the system’s uptime, the number of logged-in users and the current load average.
$ uptime 10:28:31 up 10 days, 20 min, 1 user, load average: 0.40, 0.13, 0.46
$ uptime --help Usage: uptime [options] Options: -p, --pretty show uptime in pretty format -h, --help display this help and exit -s, --since system up since -V, --version output version information and exit For more details see uptime(1).
$ uptime -p up 1 weeks, 2 days, 19 minutes $ uptime -s 2022-07-05 10:01:02 $ uptime -V uptime from procps-ng 3.3.10