Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 24 lines (21 sloc) 0.379 kb
#!/bin/bash
#
# Collect network metrics
#
# This relies on building nicstat from source.
#
# See: http://www.brendangregg.com/K9Toolkit/nicstat.c
ACTION=$1
output=/tmp/network-collect-raw.txt
case $ACTION in
start)
pkill nicstat
~/k9/nicstat 1 > $output
;;
stop)
pkill nicstat
;;
output)
echo $output
;;
esac
Jump to Line
Something went wrong with that request. Please try again.