Änderungen

Zur Navigation springen Zur Suche springen
252 Bytes hinzugefügt ,  10:40, 4. Okt. 2007
→‎Kot-Ablage4: +router zaehlen
Zeile 86: Zeile 86:  
LIST="$(wget -O - http://127.0.0.1:2006 | grep 255\.255\.255\.240 | awk -F. '{print $3}' | sort | uniq)"
 
LIST="$(wget -O - http://127.0.0.1:2006 | grep 255\.255\.255\.240 | awk -F. '{print $3}' | sort | uniq)"
 
for NN in $LIST; do wget -O - http://10.63.$NN.1/cgi-bin-contact.html | awk '/E-Mail:/ {print}';done
 
for NN in $LIST; do wget -O - http://10.63.$NN.1/cgi-bin-contact.html | awk '/E-Mail:/ {print}';done
 +
</pre>
 +
 +
===Kot-Ablage5===
 +
* alle aktiven Router zaehlen:
 +
<pre>
 +
wget -O - http://127.0.0.1:2006 | sed -e '/./{H;$!d;}' -e 'x;/Table: Routes/!d;' | grep "/32" | grep -v ".254/32" | grep -v ".253/32" | grep -v ".33/32" | grep -v ".97/32" | sort | wc -l
 +
#
 
</pre>
 
</pre>
  

Navigationsmenü