Meaning / proc / uptime parameter

About / proc / uptime meaning two parameters represented in this file:

[root@app ~]#cat /proc/uptime 
3387048.81 3310821.00

The first parameter is representative of the system from the start to the current time (in seconds):
3,387,048.81 seconds = 39.20195381944444 days, indicating that the server has continuous power 39.20195381944444 days the second parameter is representative of system idle time (in seconds ): 3,310,821.00 seconds = 38.3196875 days, indicating that the power from the machine to a total of only about 38 days now nothing to do. Calculate the idle rate: 3,310,821.00 / 3,387,048.81 = 0.9774943278718207 In other words: it's idle rate is 97% idle rate level does not mean that it's a lot of work to do, there is a great relationship with the configuration and performance of the server, which servers have such a low idle rate, or that such a high utilization rate, because of its configuration is relatively low. Free rate of configuring the server with a great relationship, the better the performance of the server, the higher the configuration, the faster speed it handles, high configuration server processing time is less than a lower configuration server. From the free time, you can determine whether your server load is too large, is not a guide to look at often happens, if the idle time is small, that your server is already running at full capacity, and then decide whether you need to upgrade server.
 


 



 

Guess you like

Origin www.cnblogs.com/xingmuxin/p/11416486.html