Hi,
i am coding cpustat.c in takes linux kernel of license GPL.
and adding to file, you can use gathering..
compile: gcc -O cpustat.c -o cpustat
./cpustat
$vi cpustat.c
/*
* /linux/fs/cpustat.c
*
* Copyright (C) 2006 Ozgur Karatas
*/
/*
* This code is written to take CPU statistics. cpustat; shows the usage
statistic of your CPU.
* The Code tested for Intel Processors. After then code will be ported
for AMD.
*/
#include
Hallo
ich suche ein Programm, dass mir ähnlich wie top die CPU-Last in einem bestimmten Intervall (crontab) in eine lesbare Logdatei und evtl. daraus noch ein HTML-Formular mit graphischer Darstellung erzeugt. Hintergrund ist der, dass einer meiner Server immer mal eine hohe CPU-Last hat. Dies tritt jedoch nur sporradisch auf, so dass ich es meist nicht mitbekomme, die Kunden vor Ort jedoch massig Probleme beim mailen, squid oder smb-connect haben. Bisher habe ich da nur nette X-Anwendungen gefunden.
Sicher gibts da sowas nettes wie top oder sowas ... ;-)
-- Regards,
Jens Strohschnitter
------------------------------------- *!!!LINUX LINUX LINUX LINUX LINUX!!!*
* http://www.jens-strohschnitter.de * ------------------------------------- Set the controls for the heart of the sun -------------------------------------
,''`. Ozgur Karatas : :' : ozgur@ozgurkaratas.com `. `' http://www.ozgurkaratas.com `- Powered By Debian GNU\Linux -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com