How to check the duration of system uptime in linux?
In a Linux system, you can use the uptime command to check the system’s uptime.
Open the terminal and enter the following command:
uptime
The output of the command will include the current system time and the amount of time the system has been running. For example:
14:27:36 up 2 days, 3:04, 2 users, load average: 0.09, 0.08, 0.07
The number following “up” indicates the number of days the system has been running, while the hours and minutes indicate the system’s running time.