This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]