Monitor Disk Space in Real Time

Assalamualaikum..

Run below command to check size of file or directory in real time.
# watch -n 1 du -sh /var/cores/netbackup/*

-n = Interval in second
1 = Size will update every 1 second.
du -sh = Get the size of directory or file

watch --help for more option

Wassalam..

This entry was posted in Linux, RedHat. Bookmark the permalink.