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

Matthew Jenkins mattj at inty.net
Fri Oct 7 10:29:15 MEST 2005


On 6 Oct 2005, at 14:21, Felipe Piccirilo wrote:
>
> 	How do you get values of cpu and memory usage in a percent way?

It all depends on your operating system.

For example, in FreeBSD you have to make Kernel Virtual Machine (KVM) 
system calls.

You might like to get the source code to the package "wmcube" - a 
windowmaker applet which displays CPU usage as a spinning cube.  This 
contains O/S specific functions which could easily be lifted and used 
in your own software - with appropriate acknowledgments and licensing, 
etc, of course...

Matt



Information in this electronic mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this mail by anyone else is unauthorised. If you are not the intended recipient any use, disclosure, copying or distribution of this message is prohibited and may be unlawful. When addressed to our customers, any information contained in this message is subject to intY's Terms & Conditions. Please rely on your own virus scanning and procedures with regard to any attachments to this message.

Scanned by MailDefender - managed email security from intY - www.maildefender.net

--
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