Quick Linux Tip #56:
Try: sudo iotop -aoP -d 5
Info: iotop tracks real-time disk I/O. -a accumulates total I/O since start, -o filters active processes, and -P groups activity by process instead of thread.
Examples:
- $
sudo iotop -o# Show only processes actively performing I/O - $
sudo iotop -b -n 5 > iotop.log# Run in batch mode and save output - $
pidstat -d 1# Check per-process I/O activity
Note: Excessive writes can contribute to SSD wear over time. Monitor drive health and wear indicators with smartctl -a /dev/sda. You may need to install iotop and smartmontools first.
Leave a Reply