In this recipe, we are going to show the commands that are used to monitor disk space.
We can use the df command with various switches to monitor disk space. To make the output more understandable, we often use the -h switch with the df command as follows:
bash-3.2$ df -h
Filesystem size used avail capacity Mounted on
132G 80G 50G 62% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 418G 488K 418G 1% /etc/svc/volatile...