DISKO
Terminal-based disk usage monitor for Linux and macOS. Built with Bubbletea.
Features
- Real-time disk usage monitoring
- I/O statistics (read/write speeds)
- Disk temperature and health status
- Sortable columns
- Filter by device, mount point, or filesystem
- Detailed view with serial number, model, vendor info
- Auto-refresh every 2 seconds
Installation
go install github.com/coderantidote/disko/cmd/disko@latest
Or build from source:
git clone https://github.com/coderantidote/disko.git
cd disko
go build -o disko ./cmd/disko
Usage
./disko
Keyboard Shortcuts
q Quit
r Refresh now
enter Show disk details
esc Back to main view
/ Open filter input
s Cycle sort column (device, mount, size, used, use%)
S Toggle sort direction (asc/desc)
c Clear filter
v Show virtual filesystems
Screenshots
Main view shows all disks in a table with progress bars:
DISKO - Disk Monitor
Device Mount Type Size Used Use% R/s W/s Temp
/dev/sda1 / ext4 100.0 GB 65.2 GB 65% 1.2 MB/s 0.5 MB/s 42C
/dev/sda2 /home ext4 500.0 GB 212.5 GB 42% 0.8 MB/s 0.1 MB/s 41C
/dev/nvme0n1 /data xfs 1.0 TB 890.0 GB 89% 2.5 MB/s 1.2 MB/s 38C
/ [===============-------] 65.2%
/home [=========-------------] 42.5%
/data [====================--] 89.0%
q:quit r:refresh enter:detail /:filter s:sort S:dir c:clear v:virtual [sort: use% desc]
Detail view shows extended information:
+----------------------------------+
| |
| Device: /dev/sda1 |
| Mount Point: / |
| Filesystem: ext4 |
| |
| Total: 100.0 GB |
| Used: 65.2 GB |
| Free: 34.8 GB |
| Available: 30.1 GB |
| Usage: 65.2% |
| |
| Read Speed: 1.2 MB/s |
| Write Speed: 0.5 MB/s |
| Temperature: 42C |
| Health: OK |
| |
| Inodes Total: 6553600 |
| Inodes Used: 524288 |
| Inodes Free: 6029312 |
| |
| Serial: WD-WMC1T0123456 |
| Model: WDC WD10EZEX |
| Vendor: ATA |
| |
+----------------------------------+
Requirements
- Go 1.21 or later
- Linux or macOS
- For temperature/health info on macOS: smartmontools (
brew install smartmontools)
License
MIT