Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
howto:simple_network_monitoring [2008/08/01 12:35] – created 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), | ||
- | Screenshot: | ||
- | [img]http:// | ||
- | ---- | + | **Screenshot: |
+ | |||
+ | //Old picture was removed, please update// | ||
+ | <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} | ||
Line 44: | Line 47: | ||
</ | </ | ||
exit | exit | ||
- | + | </ | |
- | ---- | + |