Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 21b744155c03a240ef0ea458aef35c9d > files > 909

systemtap-client-2.2.1-1.fc18.i686.rpm

title: System-Wide Count of Network Packets by IPs
name: netfilter_summary.stp
keywords: network traffic
subsystem: network
status: experimental
exit: user-controlled
scope: system-wide
description: The script watches all IPv4 network traffic on the system. On exit the script prints a list showing the number of packets sent along source IP address / destination IP address pair encountered, and the total number of bytes sent among the pair. The list is ordered from greatest to least number of packets seen among the source/destination pairs.
test_check: stap -p4 netfilter_summary.stp
test_installcheck: stap netfilter_summary.stp -c "sleep 0.4"