This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Extracting CPU and Disk information from kernel using systemtap
- From: "satya komaragiri" <satya dot komaragiri at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Tue, 1 Jul 2008 13:59:42 +0530
- Subject: Extracting CPU and Disk information from kernel using systemtap
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=7koJG6p9VYC+M2+5SN3q7clPtPfL8XfTieFf4dBPeaE=; b=tRo5v+thKmog7GtYv7dXOBUIYK0NRvcQXmwunRqKyDemrOjcLo2X/way/WCnkjeBIP 36BwCRjgEhEL9VeF/goEJYuwVdkk8ufZlQzZB8wtchIZi0myEZZA1K711CRx10IPzzVY qpk72+6DLxzw/VbGcr0v4nKE4HoM2yt7K3gLY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=CadRQ1eZPJ3jz21KpyNKlzyWQ093nYVer/maJ6/AWHpEl3umGAr1VRHQtTU1bXq5wJ 9Vf3rjbuj1WMIOW8LE/MpWhaI1QEIFUzAe575Vi307Tx9hV831/2j2ViXnqqLgVGu3eH zfKqAzDzfVijZyRNdupoWDxJx7zesioUsRi0U=
Hello !
I am Satya Komaragiri, a Google Summer of Code 2008 student for The
Fedora Project &JBoss.org.
I am working on a project to Extend Bootchart to use SystemTap
( http://code.google.com/soc/2008/fedora/appinfo.html?csaid=43B0BE196B874499 )
under the guidance of my mentor Mr. Eugene Teo.
So far, I have succeeded in extracting the process information but I
need to extract the the CPU utilization, I/O wait, disk utilization
and throughput information.
I have been trying to avoid taking information from /proc and would
like to have the systemtap script gather this information directly
from the kernel.
Can anyone please suggest how to go about it? As of now, I was trying
to look into the kernel code to see how the /proc entries are filled
in the first place.
Regards,
Satya