Uptime of the system
/proc/uptime is a read-only file that provides information about the uptime of the system, i.e., the amount of time the system has been running since it was last
restarted. The file contains two values separated by a space:
cat /proc/uptime 36151.28 240193.17
The first value represents the total time in seconds that the system has been up.
The second value represents the amount of time that the system has spent idle, in seconds.
These values are obtained from the kernel and are updated in real-time. This file can be useful for monitoring the stability and performance of a system.