Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The second number is how much of that time the machine has spent idle, in seconds

Actually, the second number is the sum of the number of seconds that all cores on the machine have spent idle, so that number may be higher than the first one. Source: https://access.redhat.com/documentation/en-US/Red_Hat_Enterp...



Thanks for catching that. You are right. Here is the source code: https://github.com/torvalds/linux/blob/master/fs/proc/uptime...

My source (first result in Google) was this link https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s2-p... which looks like an older version of the documentation that does not have that last sentence.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: