Monitoring
bash
Beginner
New
Disk IO Monitor
Monitor per-device disk read/write throughput in real time using iostat.
bash
#!/bin/bash
INTERVAL=${1:-2}
DEVICE=${2:-sda}
echo "Monitoring $DEVICE I/O (Ctrl+C to stop)"
iostat -d -x $DEVICE $INTERVAL | awk '/^$/ {next} /Device/ {print "
" $0; next} {print}'
Prerequisites
- sysstat (iostat)
- awk
Pro Tips
- → Use iotop for per-process disk activity.
Commercial Licensing
Acquire a production access token or template license for enterprise deployment.
Module Info
- Language
- bash
- Level
- Beginner
- Read time
- 1 min
- Published
- Sep 2026
- License
- Commercial License
Newsletter
New modules every week, directly to your inbox.
Similar Modules
Cron Job Heartbeat Monitor
Send a heartbeat ping after each cron job run — alert if a heartbeat is missed.
python
·
Intermediate
Datadog Custom Metric Reporter
Report custom business metrics to Datadog from a Python script via DogStatsD.
python
·
Advanced
AlertManager PagerDuty Config
Route critical Prometheus alerts to PagerDuty with deduplication and silencing.
yaml
·
Intermediate