Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 2b12d0199a2bbc4a02ef3834d926ac4a > files > 163

systemtap-client-1.8-6.el5.x86_64.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"