Wednesday, November 17, 2021

[SOLVED] Find mount points with 100% usage unix

Issue

All,

I need to get the list of mount points that reached 100% of allocated disk space.

I did the following to get the mount point details in my server and its works fine by giving the details of all mount points.

df -k

But when I need to list down the mount points reached 100% disk allocation, i am stuck.

Please advise.


Solution

What about this?:

df -h | grep "100%" | awk '{ print $5 }'



Answered By - rubenafo