Linux Performance Analysis in 60 Seconds

Condensed version of this post by Brendan Gregg @ Netflix uptime – load averages dmesg -T | tail – kernel errors vmstat 1 – overall stats by time mpstat -P ALL 1 – cpu balance pidstat 1 – process usage iostat -xz 1 – disk i/o free -m – memory usage sar -n DEV 1…

Finding a string in many files on linux

In a directory find . -name “*ABC*” -exec grep -H ‘XYZ’ {} + This essentially uses find to find the file, then -exec grep will search IN all the matching files for the string you specified.

‘splain

This entire post was written by Mark Driver, formerly of blindwino.com and all copyrights I assume belong to him. The site and article has been offline for a while but I found it so insightful I saved it. It appears that Mark currently keeps a blog or site @ https://blindwino.wordpress.com/ He can be found on…