| 1 |
title: Periodic Listing of Processes Using Network Interfaces |
| 2 |
name: nettop.stp |
| 3 |
version: 1.0 |
| 4 |
author: anonymous |
| 5 |
keywords: network traffic |
| 6 |
subsystem: network |
| 7 |
status: production |
| 8 |
exit: user-controlled |
| 9 |
output: timed |
| 10 |
scope: system-wide |
| 11 |
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. |
| 12 |
test_check: stap -p4 nettop.stp |
| 13 |
test_installcheck: stap nettop.stp -T 1 |