Created
July 31, 2019 04:55
-
-
Save komamitsu/371983b53fbf3c3a5e837fe6988dca1c to your computer and use it in GitHub Desktop.
Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function wrap_jth { | |
grep 'daemon prio=' $1 | ruby -rcsv -ne 'puts CSV.parse($_,{:col_sep => "\s"}).first.first.gsub(/\d/, "0")' | sort | uniq -c | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment