Linux disk usage
- linux show disk utilization
- linux check disk utilization
- linux show disk usage by directory
- linux show disk usage by directory sort by size
How to check disk io in linux.
How to find out how much disk space is remaining?
Get one value that expresses disk utilization in percent
This expression takes all volumes total, available und used space in kB and summarizes the values and finally calculates a total percentage of disk utilization.
Use this at your own risk.
This might possibly fail for your use case.
Unix command to check disk space in current directory
If you want to manually check disk utilization will be totally fine.
Again, this is by no means perfect. If you use this, make sure you test this individually on each machine if the volumes you are interested in are covered and represented with the correct return values.
Full command for custom monitoring expressions (e.g.
zabbix)
I wanted to exclude volumes whose usage is smaller than 5GB (5000000 kB) and also exclude some other volumes I had no interest in. This works nicely with zabbix or any other monitoring tool that uses custom expressions.
You can debug this by removing the awk expression and decide what you want to include or not.
This command parameterizes a threshold value with a Makro in Zabbix and looks like this:
I
- linux show disk activity
- linux show disk performance