This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Extracting CPU and Disk information from kernel using systemtap
- From: Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>
- To: "satya komaragiri" <satya dot komaragiri at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Tue, 1 Jul 2008 14:11:27 +0530
- Subject: Re: Extracting CPU and Disk information from kernel using systemtap
- References: <146c63b10807010129g7025af4ct18e6d5ae74b4a80@mail.gmail.com>
- Reply-to: ananth at in dot ibm dot com
On Tue, Jul 01, 2008 at 01:59:42PM +0530, satya komaragiri wrote:
> 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.
http://sources.redhat.com/ml/systemtap/2007-q1/msg00485.html may be of
some help.
Ananth