about/proc/uptime The meaning of the two parameters in this file server work
About the meaning of the two parameters in the/proc/uptime file:
[Root@app ~] #cat/proc/uptime
3387048.81 3310821.00
The first parameter is the time (in seconds) that represents the boot from the system to the present:
3,387,048,.81 seconds = 39.2019538194444 days, indicating that this server has been powered on for 39.2019538194444 days continuously
The second parameter is the time (in seconds) that represents the system's idle:
3,310,821 seconds = 38.3196875 days, this machine from the boot to now altogether only 38 days or so nothing dry.
Calculate the idle rate:
3310821.00/3387048.81 = 0.9774943278718207
In other words: its idle rate is 97%
Idle rate does not mean that it does a lot of work, and the server configuration and performance has a great relationship, this server has such a low idle rate, or so high utilization, because its configuration is relatively low.
Idle rate and server configuration has a great relationship, the performance of the server better, the higher the configuration, the faster it processing, configure a high server processing time to less than the configured low server.
From idle time, you can determine whether your server load is too large, see if there is a guide, if the idle time is very small, that your server has been running at full load, and then decide whether you need to upgrade your server.