I wanted to monitor disk usage on Linux, so I looked it up and found the command watch
.
$ watch -n 1 df -k
When you execute, the following screen is refreshed every second.
Every 1.0s: df -k graviohub: Thu Sep 10 14:15:28 2020
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 15008307 13057103 1292403 91% /
devtmpfs 1965540 0 1965540 0% /dev
tmpfs 1967840 0 1967840 0% /dev/shm
tmpfs 1967840 67128 1900712 4% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1967840 0 1967840 0% /sys/fs/cgroup
tmpfs 393568 0 393568 0% /run/user/1000
This is useful when you want to know a little tendency without a solid analysis.
Recommended Posts