This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
SystemTAP GUI Update Released
- From: Brad Peters <bpeters at linux dot vnet dot ibm dot com>
- To: systemtap at sourceware dot org
- Cc: jeroen dot janssen at gmail dot com, Vara Prasad <varap at us dot ibm dot com>, ebmunson at linux dot vnet dot ibm dot com, rrodger at us dot ibm dot com, Patrick M Mccormick <pmmccorm at us dot ibm dot com>
- Date: Fri, 08 Jun 2007 16:54:14 -0700
- Subject: SystemTAP GUI Update Released
The SystemTAP GUI Speed-team, Rachel and Patrick, have been working hard to
improve on last years project. An early release, primarily consisting of
modifications necessary to work with Eclipse 3.2 and some stability
enhancements, is now available at:
http://sourceforge.net/projects/stapgui/
Stay tuned for much bigger changes in coming months!
SystemTAP GUI:
Systemtap GUI is a tool developed to assist people who wish to understand what
their system is doing, through the creation of SystemTap scripts.
A SystemTap script can be used to probe into the Linux kernel, monitoring
various system activities and providing information that is traditionally
available only to the individual thread/process. Collected information is
available painlessly in user-space, through a simple C-like printf() , for any
type of error checking, debug, trace or whatever other type of application one
can think of.
Example script:
>>>>
#! /usr/bin/env stap
# Using statistics to examine kernel memory allocations
global kmalloc
probe kernel.function("__kmalloc") {
kmalloc <<< $size
}
# Exit after 10 seconds
probe timer.ms(10000) { exit () }
probe end {
printf("Count: %d allocations\n", @count(kmalloc))
printf("Sum: %d Kbytes\n", @sum(kmalloc)/1000)
printf("Average: %d bytes\n", @avg(kmalloc))
printf("Min: %d bytes\n", @min(kmalloc))
printf("Max: %d bytes\n", @max(kmalloc))
print("\nAllocations by size in bytes\n")
print(@hist_log(kmalloc))
}
<<<<
Best regards,
Brad Peters
IBM
Linux RAS Engineer
IBM Linux Technology Center