X-Git-Url: http://git.rot13.org/?p=cheali-logview-gnuplot;a=blobdiff_plain;f=logview-scope.sh;h=5d177920e5dac68e3d49a29d05a3f595cc63f24e;hp=2ec7142ea212fc33aa5fb814c4df2ab07afb8a78;hb=cd51fec0e48202c4cb76bba6250385d99b2e514d;hpb=63645d8721c0c809aa07a5c1b9254f34a8c7eb10 diff --git a/logview-scope.sh b/logview-scope.sh index 2ec7142..5d17792 100755 --- a/logview-scope.sh +++ b/logview-scope.sh @@ -4,12 +4,12 @@ # for_window[title="^Gnuplot"] floating enable # http://users.softlab.ntua.gr/~ttsiod/gnuplotStreaming.html -# http://users.softlab.ntua.gr/~ttsiod/driveGnuPlots.pl +test -x driveGnuPlots.pl || wget http://users.softlab.ntua.gr/~ttsiod/driveGnuPlots.pl && chmod 755 driveGnuPlots.pl -width=300 +width=120 -#tail -f cheali.log \ -cat cheali.log \ +#tail -f `ls -t log/*.log | head -1` \ +cat `ls -t log/*.log | head -1` \ | grep '$1' | cut -d\; -f \ 4,5,6,\ 10,11,\ @@ -74,6 +74,7 @@ Rbat Rwire Z AA AB \ 400x175+2700+850 \ 400x175+2700+1050 \ 400x175+2700+1250 \ +2>/dev/null # leave empty line bove this one