Question

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.

Était-ce utile?

La solution

What about this?:

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top