1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Dando um df -h você consegue verificar como está sendo utilizado seu disco rigido, de forma mais sintetizada como mostro abaixo. root@TuX:/home# df -h Sist. Arq. Tam. Usado Disp. Uso% Montado em <strong>/dev/sda2 455G 205G 227G 48% /</strong> none 4,0K 0 4,0K 0% /sys/fs/cgroup udev 1,9G 4,0K 1,9G 1% /dev tmpfs 385M 1,4M 383M 1% /run none 5,0M 0 5,0M 0% /run/lock none 1,9G 156K 1,9G 1% /run/shm none 100M 48K 100M 1% /run/user /dev/sda1 511M 3,4M 508M 1% /boot/efi O que me chamou atenção e por isto fiz esse post foi o /run/shm que utiliza 2gigas do meu "HD" e eu não sabia o que era, pesquisando encontrei o seguinte: http://askubuntu.com/questions/169495/what-are-run-lock-and-run-shm-used-for Que informa que o /var/run faz parte de arquivos temporários e futuros planos do debian e que não devemos nos importar porque faz parte da memória como coloco abaixo e também ele é normalmente metade da sua memória RAM no meu caso deu certinho, isso ai pessoal não fiquem putos faz parte... |
- Do not be alarmed about the size: importantly, many people running
df -h
and knowing that/run
is backed by RAM are shocked that their precious memory is being “wasted” by these mysterious folders. Just like the Linux ate my RAM myth though, this belief is incorrect.- The size shown is only the maximum that may be used
- It defaults to 50% of physical RAM
- Only as much shown in the Used column is actually in use, which in the above screenshot is less than 1 megabyte total
1 2 3 4 |
/var/run → /run /var/lock → /run/lock /dev/shm → /run/shm [currently only Debian plans to do this] /tmp → /run/tmp [optional; currently only Debian plans to offer this] |