Вопрос

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.

Это было полезно?

Решение

What about this?:

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top