Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:simple_network_monitoring [2008/08/01 12:48] – Simple network monitor using Genmon plugin 194.141.47.101 | howto:simple_network_monitoring [2016/09/10 15:22] (current) – fix image sakuhl | ||
|---|---|---|---|
| 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: | + | **Screenshot: |
| Line 24: | Line 26: | ||
| fi | fi | ||
| - | MY_output=`netstat -i|grep ${interface}|awk ' | + | MY_output=`netstat -i|grep $interface|awk ' |
| MY_icontheme="/ | MY_icontheme="/ | ||
| Line 36: | Line 38: | ||
| echo "< | echo "< | ||
| fi | fi | ||
| - | MY_ip=`/ | + | MY_ip=`/ |
| echo "< | echo "< | ||
| Hostname: ${HOSTNAME} | Hostname: ${HOSTNAME} | ||