Skip to content

Instantly share code, notes, and snippets.

@igorls
Last active April 20, 2020 03:03
Show Gist options
  • Save igorls/5cdbca34a4949abbec08cb70a9d3ea55 to your computer and use it in GitHub Desktop.
Save igorls/5cdbca34a4949abbec08cb70a9d3ea55 to your computer and use it in GitHub Desktop.
fio bp logs with account mappings
#!/bin/bash
add () {
# echo "$1 -> $2";
p=$p"-e 's/$1/$2/g' ";
}
add t21zeqsjq5cb "EOS Rio "
add wrcjejslfplp "EOSphere "
add dacobcm2lnnc "EOSDAC "
add lion4uxxfbqo "Cryptolions "
add sweidrpkehv2 "sw\/eden "
add lhp1ytjibtea "Greymass "
add zw4ndejblefr "EOS Amsterdam "
add w4jqarnxsdqv "EOS Cannon "
add bxb2lvjyevng "EOS Argentina "
add mak1ed5b4k1v "EOS USA "
add akfxqn52fx3a "Everstake "
add aloha3joooqd "AlohaEOS "
add vanwzbdtqimq "Acheron Trading"
add c5aeqmc1trd2 "Guarda Wallet "
add gtgkdpybvdnb "gandalf@grey "
add uret1dkc424x "Node One "
add hislmnfx13ya "EOS Barcelona "
add mhtdyxpob5fp "EOS Blocksmith "
add jdyt1ftnsifr "TheCurrencyHub "
add jnmwi5vu3hle "EOS Detroit "
add p5fi5ywnitjc "ZenBlocks "
command="/usr/bin/tail -f fio.log | sed $p";
eval "$command";
@jemxpat
Copy link

jemxpat commented Apr 20, 2020

I changed the command as follows, to remove some crud:

command="/usr/bin/tail -f stderr.txt | sed -u $p "
command+=' | egrep --line-buffered -v "http_plugin.cpp|wabt.hpp|net_plugin.cpp|binaryen.hpp" | sed -u -e"s/producer.*] Re/Re/" '

Also, added

add ezsmbcy2opod "EOSPH "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment