> For the complete documentation index, see [llms.txt](https://kb.vimzaa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.vimzaa.com/cpanel-hosting/cpanel-advanced/check-processes-or-users-with-high-iowait-99.99-from-cloudlinux-logs.md).

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

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
```
