Sophie

Sophie

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

systemtap-1.3-1.1.mga1.i586.rpm

title: Periodic Listing of Processes Using Network Interfaces
name: nettop.stp
version: 1.0
author: anonymous
keywords: network traffic per-process
subsystem: network
status: production
exit: user-controlled
output: timed
scope: system-wide
description: Every five seconds the nettop.stp script prints out a list of processed (PID and command) with the number of packets sent/received and the amount of data sent/received by the process during that interval.
test_check: stap -p4 nettop.stp
test_installcheck: stap nettop.stp -c "sleep 0.2"