summaryrefslogtreecommitdiffstats
path: root/contrib/netdevstat.stp
diff options
context:
space:
mode:
authorPhilip Knirsch <pknirsch@hamburg.stuttgart.redhat.com>2009-02-20 18:29:35 +0100
committerPhilip Knirsch <pknirsch@hamburg.stuttgart.redhat.com>2009-02-20 18:29:35 +0100
commitc02f25afb09ff1f38484a8b69c4dcc85ed2378c7 (patch)
treef0c8a9d0a4552f07bac2272fca8a70cf736d453d /contrib/netdevstat.stp
parent5818e327421ff22f41618c7b9fa74be8d23d4fd5 (diff)
downloadtuned-c02f25afb09ff1f38484a8b69c4dcc85ed2378c7.tar.gz
tuned-c02f25afb09ff1f38484a8b69c4dcc85ed2378c7.tar.xz
tuned-c02f25afb09ff1f38484a8b69c4dcc85ed2378c7.zip
- Lots of updates to packaging and installation (specfile, makefile)
Diffstat (limited to 'contrib/netdevstat.stp')
-rwxr-xr-xcontrib/netdevstat.stp1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/netdevstat.stp b/contrib/netdevstat.stp
index cfe6e9a..b5b0c2a 100755
--- a/contrib/netdevstat.stp
+++ b/contrib/netdevstat.stp
@@ -63,6 +63,7 @@ probe netdev.receive
function print_activity()
{
+ printf("\033[2J\033[1;1H")
printf("%5s %5s %-7s %9s %9s %9s %9s %9s %9s %9s %9s %-15s\n",
"PID", "UID", "DEV", "XMIT_CNT", "XMIT_MIN", "XMIT_MAX", "XMIT_AVG", "RECV_CNT", "RECV_MIN", "RECV_MAX", "RECV_AVG", "COMMAND")