Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howto:simple_network_monitoring [2008/08/19 16:53] – fix the "|>" problem 88.172.125.130howto:simple_network_monitoring [2016/09/10 15:22] (current) – fix image sakuhl
Line 5: Line 5:
    
  
-**Screenshot:** \\ {{http://aug01.imgshare.us/9li.png}}+**Screenshot:** \\ {{http://i.imgur.com/SfRfeyZ.png}}
  
-//Old picture was removed, please update// 
  
 <code bash> <code bash>
Line 39: Line 38:
     echo "<img>${MY_icontheme}/network-error.png</img>"     echo "<img>${MY_icontheme}/network-error.png</img>"
 fi fi
-MY_ip=`/sbin/ifconfig eth0|grep inet|awk {'print $2'}|cut -d":" -f2`+MY_ip=`/sbin/ifconfig $interface|grep inet|awk {'print $2'}|cut -d":" -f2`
 echo "<tool> echo "<tool>
     Hostname: ${HOSTNAME}      Hostname: ${HOSTNAME}