murrayo / yape

yet another pButtons extractor
MIT License
11 stars 7 forks source link

incorporate outside data #3

Open kazamatzuri opened 6 years ago

kazamatzuri commented 6 years ago

add hooks for something like:

sleep 240; for i in {1..3960..1};do echo "cstat_start_"`date +%T` >>ecpreqbuf_003_app1.txt; ccontrol stat H20162 -N127 >>ecpreqbuf_003_app1.txt; sleep 1;done................awk '/cstat_start*/{printf substr($0,13)"," } /ECP net# Name/{getline; print $11}' ecpreqbuf_001_app2.txt >ecpreqbuf_001_app2.csv