[CentOS-es] Servidor in espacio

César Martinez cmartinez en servicomecuador.com
Jue Feb 9 18:53:15 UTC 2017


Puede ser

df -h | awk '{print $5 " " $6}' | sort -n | tail -5

o

du -sh /*

-- 
|Saludos Cordiales
|César Martínez M. | Ingeniero de Sistemas
|Consultor & Proyectos Software Libre| SERVICOM
|Tel: (593-2)554-271 2221-386 | Ext 4501
|Celular:(593 999374317 |Skype servicomecuador
|Web www.servicomecuador.com Síguenos en:
|Twitter: @servicomecuador |Facebook: servicomec
|Zona Clientes: www.servicomecuador.com/billing
|Blog: http://servicomecuador.com/blog
|Dir. Av. 10 de Agosto N29-140 Entre
|Acuña y  Cuero y Caicedo
|Quito - Ecuador - Sudamérica

El 09/02/17 a las 13:48, Efraín Déctor escribió:
> Hola.
>
> Y si intentas este comando:
>
> find / -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": 
> " $5 }'
>
> Saludos
>
>
> El 09/02/2017 a las 12:32 p. m., Oscar Segarra escribió:
>> Buenas,
>>
>> Me encuentro que mi servidor virtual no tiene espacio pero no soy 
>> capaz de
>> encontrar en que lugar se está consumiendo:
>>
>> [root en vdicnode02 /]# df -h
>> Filesystem                          Size  Used Avail Use% Mounted on
>> */dev/mapper/centos_vdicnode02-root   18G   18G   20K 100% /*
>> devtmpfs                            1.9G     0  1.9G   0% /dev
>> tmpfs                               1.9G   39M  1.9G   3% /dev/shm
>> tmpfs                               1.9G   73M  1.8G   4% /run
>> tmpfs                               1.9G     0  1.9G   0% /sys/fs/cgroup
>> /dev/sdb1                            40G   33M   40G   1% /vdic-mgmt-vm
>> /dev/sdd1                           100G   33M  100G   1% /vdic-vm
>> /dev/sda1                           497M  170M  327M  35% /boot
>> tmpfs                               378M     0  378M   0% /run/user/0
>> [root en vdicnode02 /]#
>>
>>
>> [root en vdicnode02 /]# df -i
>> Filesystem                           Inodes IUsed    IFree IUse% 
>> Mounted on
>> */dev/mapper/centos_vdicnode02-root    53840 52528     1312 98% /*
>> devtmpfs                             477910   421   477489    1% /dev
>> tmpfs                                483368    87   483281    1% 
>> /dev/shm
>> tmpfs                                483368   589   482779    1% /run
>> tmpfs                                483368    13   483355    1%
>> /sys/fs/cgroup
>> /dev/sdb1                          20971008    27 20970981    1%
>> /vdic-mgmt-vm
>> /dev/sdd1                          52428288     3 52428285    1% 
>> /vdic-vm
>> /dev/sda1                            512000   381   511619    1% /boot
>> tmpfs                                483368     1   483367    1% 
>> /run/user/0
>>
>> [root en vdicnode02 /]# du -h --max-depth=1
>> 145M    ./boot
>> 8.1M    ./dev
>> du: cannot access ‘./proc/103677/task/103677/fd/4’: No such file or
>> directory
>> du: cannot access ‘./proc/103677/task/103677/fdinfo/4’: No such file or
>> directory
>> du: cannot access ‘./proc/103677/fd/4’: No such file or directory
>> du: cannot access ‘./proc/103677/fdinfo/4’: No such file or directory
>> 0       ./proc
>> 81M     ./run
>> 0       ./sys
>> 31M     ./etc
>> 6.3M    ./root
>> 8.0K    ./tmp
>> 135M    ./var
>> 1.3G    ./usr
>> 0       ./home
>> 0       ./media
>> 0       ./mnt
>> 3.0M    ./opt
>> 0       ./srv
>> 20K     ./vdic-mgmt-repo
>> 64K     ./vdic-mgmt-vm
>> 0       ./vdic-images
>> 0       ./vdic-vm
>> *1.7G    .*
>>
>> Cualquier ayuda será bienvenida.
>>
>> Un saludo y muchas gracias de antemano
>> _______________________________________________
>> CentOS-es mailing list
>> CentOS-es en centos.org
>> https://lists.centos.org/mailman/listinfo/centos-es
>
> _______________________________________________
> CentOS-es mailing list
> CentOS-es en centos.org
> https://lists.centos.org/mailman/listinfo/centos-es



Más información sobre la lista de distribución CentOS-es