Check processes or users with high iowait (99.99%) from Cloudlinux Logs

269ac00f765508cb74b25d006dbf5bb2

Written by Dennis Nind

Last published at: February 8th, 2019

A handy script! I wrote this script to extract the highest 'waiting' processes to diagnose high IO wait issues from users, where the results are not obvious from the LVE stats...

grep 99.99 ../*/logfile.txt | tail -n -100000 | awk -v x=12 '{print $x}' | awk -F'/' '{print $2,$3}' | sort | uniq -c | sort -n