This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Evaluating SystemTap for Network Response Times
- From: Nathan DeBardeleben <ndebard at lanl dot gov>
- To: Hien Nguyen <hien at us dot ibm dot com>
- Cc: "systemtap at sources dot redhat dot com" <systemtap at sources dot redhat dot com>
- Date: Mon, 06 Feb 2006 15:55:28 -0700
- Subject: Re: Evaluating SystemTap for Network Response Times
- References: <43DF95CB.8070201@lanl.gov> <43DF9EA0.6040705@us.ibm.com>
Hien Nguyen wrote:
Hi Nathan,
I think what you are trying to achieve could be done with systemtap. I
wrote a small script to monitor the tcp traffic a while back (see URL
below)
http://sourceware.org/ml/systemtap/2005-q4/msg00302.html
I'm a complete newbie to systemtap, so please explain why when I try and
run the example on the link above that you sent me I get this:
[root@kraken1 systemtap]# stap -v tcp_mon.stp
Created temporary directory "/tmp/stapM6VSNS"
parse error: embedded code in unprivileged script
saw: embedded-code at tcp_mon.stp:70:1
1 parse error(s).
Searched
'/usr/share/systemtap/tapset/2.6.14-1.1656_FC4smp/x86_64/*.stp', match
count 0
Searched '/usr/share/systemtap/tapset/2.6.14-1.1656_FC4smp/*.stp',
match count 0
Searched '/usr/share/systemtap/tapset/2.6.14/x86_64/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.14/*.stp', match count 1
Searched '/usr/share/systemtap/tapset/2.6/x86_64/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/x86_64/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/*.stp', match count 8
Pass 1: parsed user script and 9 library script(s).
Pass 1: parse failed.
Running rm -rf /tmp/stapM6VSNS
[root@kraken1 systemtap]#
Also you say to copy tapset.stp to a directory you create in that post -
where do I get tapset.stp?
Sorry for the beginner question :)
-- Nathan
Correspondence
---------------------------------------------------------------------
Nathan DeBardeleben, Ph.D.
Los Alamos National Laboratory
Parallel Tools Team
High Performance Computing Environments
phone: 505-667-3428
email: ndebard@lanl.gov
---------------------------------------------------------------------