Advertisement
Tritonio

Figuring out which process has IOwait?

May 12th, 2021
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. find . ! -path '*task*' -name status | xargs grep 'D (' | awk '{ print $1 }' | sed -r 's/stat.+/status/' | xargs head -n 1 -q
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement