tcp_connects script redux

Hien Nguyen hien@us.ibm.com
Fri Sep 9 17:17:00 GMT 2005


Here's a more completed version of tcp_connects script. This version has 
been tested with RHEL4 i386 and FC4 i386. The output would look like this

stap -g tcp_connects_wa.stp
UID     CMD             PID             PORT    IP_SOURCE
0       sshd            1961             22     9.47.18.87
0       sshd            1961             22     9.47.67.99

Note: the tcp_connect_wa.stp has a work around for the $retvalue bug is 
fixed. After the $retvalue bug is fixed  we should use the 
tcp_connects.stp script.

Hien.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tcp_connections_wa.stp
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050909/5d34406e/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tcp_connections.stp
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050909/5d34406e/attachment-0001.ksh>


More information about the Systemtap mailing list