Tess, You probably can find what you want by just manipulating the output "cat /proc/stat" using perl|c|java or whatever.
You can also look at the standard monitoring tools in http://freshmeat.net/projects/sysstat/ and see what they do. There are even nice remote monitoring tools in existance like http://www.xs4all.nl/~wpd/symon/ Regards, Martin Martin Visser ,CISSP Network and Security Consultant Consulting & Integration Technology Solutions Group - HP Services 3 Richardson Place North Ryde, Sydney NSW 2113, Australia Phone: +61-2-9022-1670 Mobile: +61-411-254-513 Fax: +61-2-9022-1800 E-mail: martin.visserAThp.com This email (including any attachments) is intended only for the use of the individual or entity named above and may contain information that is confidential, proprietary or privileged. If you are not the intended recipient, please notify HP immediately by return email and then delete the email, destroy any printed copy and do not disclose or use the information in it. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tess Snider Sent: Thursday, 31 March 2005 1:51 PM To: [email protected] Subject: [SLUG] Monitoring APIs Do any of you know of a library that can be used to track linux system performance data in real-time? I don't need to log it. I need to be able to aggregate load information about multiple machines in one place, in real time, so I can optimally balance a distributed application. If I can just find a library that will do the performance tracking, I can handle writing the glue-piece to get it to report back to the aggregator. Any suggestions? Tess -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
