문제

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