我每天都收到警告,说我的VPS服务器空间已满。我已经删除了旧的内核,清理了安装文件并减少了备份的存储量。我不确定我还能删除什么?
我运行命令:
du --max-depth=1 -h /
0 /dev
16K /lost+found
1.6G /var
75M /opt
89M /run
2.8G /backup
38M /etc
4.0K /cd
4.0K /srv
4.0K /media
7.4G /usr
2.6M /tmp
0 /sys
179M /boot
61M /root
4.0K /mnt
149G /home
Run Code Online (Sandbox Code Playgroud)
我还运行命令:
df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/centos-root 49066108 43581052 3396348 93% /
devtmpfs 2009504 0 2009504 0% /dev
tmpfs 2019500 0 2019500 0% /dev/shm
tmpfs 2019500 90696 1928804 5% /run
tmpfs 2019500 0 2019500 0% /sys/fs/cgroup …Run Code Online (Sandbox Code Playgroud)