projects
/
cheali-logview-gnuplot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
63645d8
)
use last log file as input
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 1 Feb 2016 23:49:22 +0000
(
00:49
+0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 1 Feb 2016 23:49:22 +0000
(
00:49
+0100)
logview-scope.sh
patch
|
blob
|
history
diff --git
a/logview-scope.sh
b/logview-scope.sh
index
2ec7142
..
5d17792
100755
(executable)
--- 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
# 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=
30
0
+width=
12
0
-#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,\
| 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 \
400x175+2700+850 \
400x175+2700+1050 \
400x175+2700+1250 \
+2>/dev/null
# leave empty line bove this one
# leave empty line bove this one