CPU States data where to get this?
Anybody know where can I pull the CPU stats. The top command displays this by I want to know where to pull the data from which file. I know the load average data is residing at /proc/loadavg but I tried to locate where the CPU stats file is but couldn't find it. I'm doing an http page that will display the load average and cpu idle data of the server. Thanks.BTW I'm on CentOS.