FInd slow actions in a Rails app
# Show a list of actions sorted by time taken. Useful for finding slow actions. cat log/development.log | awk '/Completed/ { print "[" $3 "] - " $0 }' | sort -nr
DZone Snippets > sikelianos > awk
12388 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
# Show a list of actions sorted by time taken. Useful for finding slow actions. cat log/development.log | awk '/Completed/ { print "[" $3 "] - " $0 }' | sort -nr