jablonka.czprosek.czf

netmap

Subversion Repositories:
[/] [gen_stats_ospf] - Blame information for rev 106

 

Line No. Rev Author Line
11simandl#!/bin/sh
2 
3# (c)2003 by Jan Krupa (krupaj@mobilnews.cz)
4# http://www.mobilnews.cz/honza/
5 
6PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin
7export PATH
8 
9STATS_PATH=/home/www/cgi-bin/netmap
10STATS_PATH_DATA=$STATS_PATH/data
11 
1293simandlNAME=jablonecka
131simandl 
1493simandlDATABASE=$STATS_PATH_DATA/$NAME.link
15 
16105simandl$STATS_PATH/gen_ospf_link.pl \
17| grep -Ev "infinity|atom|10.33.72.78|10.33.30.16|10.33.0.72|10.33.25.242|olive" \
18| grep -Ev "82;jabap;ogw;|82;jabap;jgw;|82;ogw;jabap|82;jgw;jabap;" \
19| grep -Ev "82;jabu;ogw;|82;jabu;jgw;|82;ogw;jabu|82;jgw;jabu;" \
20| grep -Ev "82;hasit;ogw;|82;hasit;jgw;|82;ogw;hasit|82;jgw;hasit;" \
21 > $DATABASE.ospf
22 
2329simandlcat $DATABASE.basic | grep -v "^00" > $DATABASE
241simandlcat $DATABASE.ospf >> $DATABASE
25 
26 
27for LINE in `/bin/ls -1 $STATS_PATH_DATA | /bin/grep .config`; do
28 $STATS_PATH/gen_onestatpict `/bin/echo $LINE | /bin/awk -F. '{ printf "%s", $1 }'` &>/dev/null
29done
30 
3130simandlconvert /home/www/html/netmap/out/jablonecka.png -resize 160x95 /home/www/html/wm/images/prosek_netmap.png
3260simandlconvert /home/www/html/netmap/out/jablonecka.png -resize 660x440 /home/www/html/wm/images/netmap.jpg
3330simandl 

Powered by WebSVN 2.2.1