|
cglzyz
发表于 2021-6-13 21:58
来自 中国河南濮阳
cd /
先进入根目录,然后运行下面的命令
du -h --max-depth=1
会显示各个目录占用空间,你看那个多并且不正常,就进去处理
可以在子目录运行上个命令,看子目录下情况。
你可以对比一下我的占用情况
8.0K ./dev
11M ./etc
8.7M ./etc.defaults
4.0K ./initrd
21M ./.syno
20K ./.system_info
4.0K ./mnt
36K ./.old_patch_info
4.0K ./lost+found
du: cannot access ‘./proc/3059/task/3059/fd/4’: No such file or directory
du: cannot access ‘./proc/3059/task/3059/fdinfo/4’: No such file or directory
du: cannot access ‘./proc/3059/fd/4’: No such file or directory
du: cannot access ‘./proc/3059/fdinfo/4’: No such file or directory
0 ./proc
44M ./root
15M ./run
0 ./sys
193M ./tmp
1015M ./usr
7.2M ./var.defaults
106G ./volume1
207M ./var |
|