[rrd-users] Re: How get CPU and Memory values

Dave Lugo dlugo at etherboy.com
Fri Oct 7 19:38:53 MEST 2005


On Fri, 7 Oct 2005, Felipe Piccirilo wrote:
>
> But how can I calculate the processor load with the numbers from /proc/stat ?
>
> I didn't understand what they represent...  can you help me? do you have
> an example script or the calcule to do this?
>

Did you look at other stuff in proc?

root at spot> cat /proc/loadavg
0.01 0.03 0.00 1/69 25902

If you don't have that, you could also script something using `uptime`.

-- 
--------------------------------------------------------
Dave Lugo   dlugo at etherboy.com    LC Unit #260   TINLC
Have you hugged your firewall today?   No spam, thanks.
--------------------------------------------------------
Are you the police?  . . . .  No ma'am, we're sysadmins.

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list