Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates > by-pkgid > fe7c341633b7d979ab8178b22304d6b5 > files > 126

systemtap-1.3-1.1.mga1.i586.rpm

title: Track Creation of Incoming TCP Connections
name: tcp_connections.stp
version: 1.0
author: anonymous
keywords: network tcp socket
subsystem: kernel
status: production
exit: user-controlled
output: trace
scope: system-wide
description: The tcp_connections.stp script prints information for each new incoming TCP connection accepted by the computer. The information includes the UID, the command accepting the connection, the PID of the command, the port the connection is on, and the IP address of the originator of the request.
test_check: stap -p4 tcp_connections.stp
test_installcheck: stap tcp_connections.stp -c "sleep 0.2"