This commit is contained in:
eddyem
2016-03-21 19:59:04 +03:00
parent 09bfdc51c2
commit 326e4d84eb
13 changed files with 14638 additions and 27 deletions

9
00-logs/get_all_cmds Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
# get commands list in all files (no args) or in given filelist
[ "$*" = "" ] && LIST="*.dat" || LIST="$*"
function upper(){ echo $1 | tr [:lower:] [:upper:]; }
function hex2dec(){ echo "obase=10;ibase=16; $(upper $1)" | bc -l; }
./proc_historgram ${LIST}| awk '{print $2}' | sort -u| while read x; do echo "$x : $(hex2dec $x)"; done