Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Commands
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