Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. sudo iotop -b -P > diskfifo
  2.  
  3. pipe=./diskfifo
  4.  
  5. while read line <$pipe
  6. do
  7. if [[ "$line" == 'quit' ]]; then
  8. break
  9. fi
  10. echo $line
  11. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement