View previous topic :: View next topic |
Author |
Message |
amulet_linux n00b
Joined: 26 Apr 2014 Posts: 65
|
Posted: Sun Apr 27, 2014 12:36 am Post subject: ¿Cuanto espacio te ocupa /var/tmp? |
|
|
Hola, me gustaria saber cuanto puede llegar a pesar esa carpeta, por ejemplo a mi me ocupa 3.9 GB, lo se gracias al comando
Code: | sudo du -sh /var/tmp/ |
Saludos _________________ https://gentoo.curl.pink
I post about Gentoo and Linux :3 |
|
Back to top |
|
|
agdg Guru
Joined: 15 Aug 2010 Posts: 320
|
Posted: Sun Apr 27, 2014 5:56 pm Post subject: |
|
|
Demasiado espacio para archivos temporales ¿no?
Code: | agd-folio13 linux # du -csh /var/tmp/*
8,0K /var/tmp/systemd-private-0r5B92
8,0K /var/tmp/systemd-private-2shTRa
8,0K /var/tmp/systemd-private-4e15cL
8,0K /var/tmp/systemd-private-9ktOvy
8,0K /var/tmp/systemd-private-ALzmb1
8,0K /var/tmp/systemd-private-ch5C29
8,0K /var/tmp/systemd-private-eOzkO1
8,0K /var/tmp/systemd-private-Jk4Rlm
8,0K /var/tmp/systemd-private-mv69p9
72K total
agd-folio13 linux #
|
_________________ Antonio Guillen · USAM · Un SysAdmin Más |
|
Back to top |
|
|
amulet_linux n00b
Joined: 26 Apr 2014 Posts: 65
|
Posted: Sun Apr 27, 2014 7:17 pm Post subject: |
|
|
agdg wrote: | Demasiado espacio para archivos temporales ¿no?
Code: | agd-folio13 linux # du -csh /var/tmp/*
|
|
Usar sudo y no usarlo hace diferencia en el tamaño, porque hay directorios que no se pueden leer, sin el sudo a mi me da 900MB
Saludos _________________ https://gentoo.curl.pink
I post about Gentoo and Linux :3 |
|
Back to top |
|
|
esteban_conde Veteran
Joined: 04 Jun 2003 Posts: 1670
|
Posted: Sun Apr 27, 2014 7:30 pm Post subject: |
|
|
en /var/tmp además de sytemd-* se crean otros directorios como portage y genkernel al menos en mi caso:
du -csh /var/tmp/*
Quote: | localhost ~ # du -csh /var/tmp/*
3,3M /var/tmp/genkernel
8,0K /var/tmp/portage
8,0K /var/tmp/systemd-private-4c2kb5
8,0K /var/tmp/systemd-private-b42vvx
8,0K /var/tmp/systemd-private-bLbjyu
8,0K /var/tmp/systemd-private-CyxeV6
8,0K /var/tmp/systemd-private-d36KAd
8,0K /var/tmp/systemd-private-dsvV5U
8,0K /var/tmp/systemd-private-enV0An
8,0K /var/tmp/systemd-private-GrKr9H
8,0K /var/tmp/systemd-private-jdTZ2p
8,0K /var/tmp/systemd-private-lTYViu
8,0K /var/tmp/systemd-private-lUjYuw
8,0K /var/tmp/systemd-private-NqfSxK
8,0K /var/tmp/systemd-private-oPHcE0
8,0K /var/tmp/systemd-private-Pn0ccd
8,0K /var/tmp/systemd-private-rTvI2n
8,0K /var/tmp/systemd-private-SI7oUf
8,0K /var/tmp/systemd-private-u4LzoN
8,0K /var/tmp/systemd-private-uPvI3i
8,0K /var/tmp/systemd-private-UVY1Ip
8,0K /var/tmp/systemd-private-veS5DG
8,0K /var/tmp/systemd-private-VrUrPp
8,0K /var/tmp/systemd-private-WNzpzS
8,0K /var/tmp/systemd-private-WUjX8K
8,0K /var/tmp/systemd-private-XKwrC9
8,0K /var/tmp/systemd-private-y6woPF
3,5M total
|
como se puede ver en el copy/paste portage esta vacio, sin embargo genkernel contiene un archivo initramfs el cual posiblemente deberia borrar pero tampoco pesa demasiado, los tres gigabytes del compañero vienen de paquetes que no se le han compilado y se quedan ahí hasta que se actualizan bien. _________________ Saludos a tod@s, Esteban. |
|
Back to top |
|
|
agdg Guru
Joined: 15 Aug 2010 Posts: 320
|
Posted: Sun Apr 27, 2014 7:40 pm Post subject: |
|
|
amulet_linux wrote: | agdg wrote: | Demasiado espacio para archivos temporales ¿no?
agd-folio13 linux # du -csh /var/tmp/*
|
Usar sudo y no usarlo hace diferencia en el tamaño, porque hay directorios que no se pueden leer, sin el sudo a mi me da 900MB
Saludos |
Por cierto, ¿qué es lo que hay para que ocupe tanto? En mi caso ocupa muy poco, algo menos de 100KB, a esteban_conde le ocupa algo más de 3MB. En tu caso creo que ocupa demasiado. _________________ Antonio Guillen · USAM · Un SysAdmin Más |
|
Back to top |
|
|
amulet_linux n00b
Joined: 26 Apr 2014 Posts: 65
|
Posted: Sun Apr 27, 2014 11:32 pm Post subject: |
|
|
agdg wrote: |
Por cierto, ¿qué es lo que hay para que ocupe tanto? En mi caso ocupa muy poco, algo menos de 100KB, a esteban_conde le ocupa algo más de 3MB. En tu caso creo que ocupa demasiado. |
[/code]
90M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/usr/lib64/ghc-7.6.3/Cabal-1.16.0
92M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/libraries/base/dist-install/build/GHC
93M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/libraries/Cabal/Cabal/dist-install/build/Distribution/Simple
97M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/ghc-tarballs
101M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/usr/lib64/ghc-7.6.3/base-4.6.0.1
149M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/compiler/stage1/build
150M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/compiler/stage1
163M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/libraries/Cabal/Cabal/dist-install/build/Distribution
259M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/libraries/Cabal/Cabal/dist-install
259M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/libraries/Cabal/Cabal/dist-install/build
288M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/libraries/Cabal/Cabal
289M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/libraries/Cabal
293M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/libraries/base/dist-install
293M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/libraries/base/dist-install/build
297M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/usr/lib64/ghc-7.6.3/ghc-7.6.3
298M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/libraries/base
366M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/compiler/stage2
366M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/compiler/stage2/build
527M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/compiler
695M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/usr/lib64
695M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/usr/lib64/ghc-7.6.3
742M /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/usr
1.1G /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/libraries
1.9G /var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3
[/code]
Hace meses me parece que me equivoqué y compilé algo totalmente erroneo que tomó horas, como estaba actualizando el sistema no me di cuenta. _________________ https://gentoo.curl.pink
I post about Gentoo and Linux :3 |
|
Back to top |
|
|
gringo Advocate
Joined: 27 Apr 2003 Posts: 3793
|
Posted: Mon Apr 28, 2014 9:27 am Post subject: |
|
|
esos son los temporales de compilación, si no tienes utilidad para ti simplemente borra todo lo que tengas en /var/tmp/portage.
saluetes |
|
Back to top |
|
|
pelelademadera Veteran
Joined: 14 Jul 2008 Posts: 1255 Location: La Plata, Argentina
|
Posted: Mon Apr 28, 2014 11:06 pm Post subject: |
|
|
Code: | pelo@pelo-pc ~ $ df |
Quote: | S.ficheros 1K-blocks Usados Disponibles Uso% Montado en
/dev/sda5 14627760 11546172 2315484 84% /
devtmpfs 8217292 0 8217292 0% /dev
tmpfs 8218068 644 8217424 1% /dev/shm
tmpfs 8218068 1908 8216160 1% /run
tmpfs 8218068 0 8218068 0% /sys/fs/cgroup
tmpfs 8218068 48 8218020 1% /tmp
/dev/sda1 60002740 48392440 11610300 81% /mnt/windows
/dev/sda6 3300244 1295748 2004496 40% /usr/src
/dev/sda3 45741348 27061944 16332800 63% /home
/dev/sdb1 1073744404 1040471968 33272436 97% /mnt/documentos
/dev/sdb9 832480 439448 393032 53% /usr/portage
/dev/sdb7 10233024 53504 10179520 1% /var/tmp
/dev/sdb5 316529644 295709552 4718228 99% /mnt/homeviejo
/dev/sdb8 28373348 12354476 14554592 46% /usr/portage/distfiles
tmpfs 1643616 0 1643616 0% /run/user/1000 |
salvo mientras compilas, no deberia pesar nada, salvo que guardes las compilaciones fallidas.... _________________ el pelado de la gente
------
Los habitantes de las islas Malvinas lo llaman gentoo, nombre en el que se basa la distribución GNU/Linux Gentoo, cuyo objetivo es la optimización para conseguir más rendimiento y velocidad en la ejecución.
------ |
|
Back to top |
|
|
amulet_linux n00b
Joined: 26 Apr 2014 Posts: 65
|
Posted: Fri May 02, 2014 4:47 am Post subject: |
|
|
gringo wrote: | esos son los temporales de compilación, si no tienes utilidad para ti simplemente borra todo lo que tengas en /var/tmp/portage.
saluetes |
Gracias por el consejo, me ayudo a liberar esa cantidad nada despreciable de gigas. _________________ https://gentoo.curl.pink
I post about Gentoo and Linux :3 |
|
Back to top |
|
|
Theasker l33t
Joined: 18 Nov 2006 Posts: 656 Location: Zaragoza (Spain)
|
Posted: Fri May 02, 2014 6:19 am Post subject: |
|
|
Yo tengo mapeada la misma unidad lógica a /tmp y a /var/tmp, supongo que esto es correcto y que si no se está ejecutando nada, todo lo que hay en esos directorios se puede destruir, o eso al menos justo antes de apagar el equipo, ya que luego al encenderlo hace un "wipe" de /tmp.
Si estoy equivocado ya ... sabéis _________________ "Oigo y olvido. Veo y recuerdo. Hago y comprendo" |
|
Back to top |
|
|
lluisparcet Tux's lil' helper
Joined: 21 Sep 2004 Posts: 116 Location: Roses
|
Posted: Fri May 02, 2014 5:09 pm Post subject: |
|
|
Hola a todos:
Aqui teneis los datos de mi portatil:
Code: | # du -csh /var/tmp/*
4,0K /var/tmp/portage
8,0K /var/tmp/systemd-private-1sQyFV
8,0K /var/tmp/systemd-private-DclJ0O
8,0K /var/tmp/systemd-private-DZdKY3
8,0K /var/tmp/systemd-private-H6Mq5X
8,0K /var/tmp/systemd-private-j1cNC6
8,0K /var/tmp/systemd-private-KxmBw2
8,0K /var/tmp/systemd-private-v53gbo
8,0K /var/tmp/systemd-private-wF5158
68K total |
Por lo que veo en vuestos anteriores comentarios, parece normal.
Cuando llegue a casa miraré en el PC de sobremesa.
Saludos cordiales. |
|
Back to top |
|
|
T0m4S n00b
Joined: 15 Sep 2008 Posts: 30 Location: Almería (Spain)
|
Posted: Sat May 17, 2014 5:57 pm Post subject: |
|
|
Aquí está el mío:
Code: | $ sudo du -csh /var/tmp/*
4,0K /var/tmp/alsaconf.cards
5,5M /var/tmp/genkernel
11M /var/tmp/kdecache-kdm
12M /var/tmp/kdecache-root
333M /var/tmp/kdecache-tomasfg
8,0K /var/tmp/portage
360M total
|
Por lo que veo ocupa demasiado. ¿Puedo borrar los archivos en kdecache-* sin problema o no? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|