赞
踩
du -ah --max-depth=1 | sort -h
前面指令是查看文件夹的占用大小,后面的 sort 是用于排序前一步的结果,就是让结果排序显示
root@tw-demo-server:/var/lib/docker# du -ah --max-depth=1 | sort -h
4.0K ./runtimes
4.0K ./swarm
4.0K ./tmp
4.0K ./trust
16K ./plugins
88K ./buildkit
100K ./network
25M ./image
1.6G ./volumes
11G ./containers
21G ./overlay2
33G .
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。