Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
howto:simple_network_monitoring [2008/08/01 12:48] – Simple network monitor using Genmon plugin 194.141.47.101 | howto:simple_network_monitoring [2010/10/02 17:26] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Simple network monitoring using Genmon plugin ===== | ||
+ | |||
Follow is the code of script that can make this | Follow is the code of script that can make this | ||
I recomment to save in you home directory with name netmonitor.sh (with +x permissions), | I recomment to save in you home directory with name netmonitor.sh (with +x permissions), | ||
Line 5: | Line 7: | ||
**Screenshot: | **Screenshot: | ||
+ | //Old picture was removed, please update// | ||
<code bash> | <code bash> | ||
Line 24: | Line 27: | ||
fi | fi | ||
- | MY_output=`netstat -i|grep ${interface}|awk ' | + | MY_output=`netstat -i|grep $interface|awk ' |
MY_icontheme="/ | MY_icontheme="/ | ||
Line 36: | Line 39: | ||
echo "< | echo "< | ||
fi | fi | ||
- | MY_ip=`/ | + | MY_ip=`/ |
echo "< | echo "< | ||
Hostname: ${HOSTNAME} | Hostname: ${HOSTNAME} |