You are not logged in.

#26 2008-07-13 12:58:17

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: Do not get too excited but......

tomk wrote:
$ du -h /var/cache/pacman/pkg
5.9G    /var/cache/pacman/pkg

Enjoy smile

OMG, it seems you are hosting a repository of your wone. big_smile

By the way,

[kensai@archlinux ~]$ du -h /var/cache/pacman/
4.0K    /var/cache/pacman/pkg
8.0K    /var/cache/pacman/

Last edited by kensai (2008-07-13 12:59:19)


Follow me in: Identi.ca, Twitter, Google+

Offline

#27 2008-07-13 13:30:34

mfolnovic
Member
From: Zagreb, Croatia
Registered: 2008-01-03
Posts: 104

Re: Do not get too excited but......

mfolnovich ~ > du -h /var/cache/pacman/
3.5G    /var/cache/pacman/pkg

Offline

#28 2008-07-13 15:39:03

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Do not get too excited but......

dude I could nearly run ubuntu in 4.7gb lol


Mr Green

Offline

#29 2008-07-13 16:42:28

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Do not get too excited but......

update ... thanks Allan

echo $(du -h /var/cache/pacman/pkg) | cut -f 1 -d " "

beat that!


Mr Green

Offline

#30 2008-07-13 17:11:52

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Do not get too excited but......

pacman -Sc is my friend:

[skottish@iasE ~]$ echo $(du -h /var/cache/pacman/pkg) | cut -f 1 -d " "
425M

Offline

#31 2008-07-13 18:02:49

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

Re: Do not get too excited but......

Mr Green wrote:

echo $(du -h /var/cache/pacman/pkg) | cut -f 1 -d " "

This does the same:
du -h /var/cache/pacman/pkg | cut -f 1

Offline

#32 2008-07-13 19:04:13

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Do not get too excited but......

WHAT!!!!! lol ....


Mr Green

Offline

#33 2008-07-13 22:12:03

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: Do not get too excited but......

daf666 wrote:
Mr Green wrote:

echo $(du -h /var/cache/pacman/pkg) | cut -f 1 -d " "

This does the same:
du -h /var/cache/pacman/pkg | cut -f 1

using 3 programs (bash, du,cut) for such an easy task?
l=( $(du -h /var/cache/pacman/pkg) ) echo $l


thank you thayer and tomk! Parsing the versions is so hard: damned rc1, pre, alpha, -, . and so on!
I'm thinking I'll have to fall back to the timestamp of the files

Last edited by carlocci (2008-07-13 22:12:19)

Offline

#34 2008-07-14 00:19:17

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Do not get too excited but......

693M
and
468M

Offline

#35 2008-07-14 00:22:33

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Do not get too excited but......

try this one: big_smile

$ df -h /
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda7              14G  3.7G  9.4G  29% /

$ df -h /
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2              12G  5.4G  5.9G  48% /

Offline

#36 2008-07-14 00:32:11

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: Do not get too excited but......

9,1G
If I had not found this post I would probably had run out of space soon!


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#37 2008-07-14 05:53:23

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Do not get too excited but......

carlocci wrote:
daf666 wrote:
Mr Green wrote:

echo $(du -h /var/cache/pacman/pkg) | cut -f 1 -d " "

This does the same:
du -h /var/cache/pacman/pkg | cut -f 1

using 3 programs (bash, du,cut) for such an easy task?
l=( $(du -h /var/cache/pacman/pkg) ) echo $l


thank you thayer and tomk! Parsing the versions is so hard: damned rc1, pre, alpha, -, . and so on!
I'm thinking I'll have to fall back to the timestamp of the files

[ ~ ] >  l=( $(du -h /var/cache/pacman/pkg) ) echo $l

[ ~ ] >

unless its a typo I get nothing from that..............

Last edited by Mr Green (2008-07-14 05:54:08)


Mr Green

Offline

#38 2008-07-14 12:11:28

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: Do not get too excited but......

I missed a semicolon

Offline

#39 2008-07-14 12:48:52

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Do not get too excited but......

where where ?? no problem I am sure it works fine... :-) I always seem to take the longest route first


Mr Green

Offline

#40 2008-07-22 21:35:29

ep2011
Member
Registered: 2008-02-28
Posts: 66

Re: Do not get too excited but......

2.9G

Wow

Offline

#41 2008-08-03 01:01:28

Zerathidune
Member
Registered: 2007-02-25
Posts: 102

Re: Do not get too excited but......

du -h /var/cache/pacman/pkg
5.5G    /var/cache/pacman/pkg

never cleaned it out. reinstalled once though. don't remember why. Will get much smaller soon as I'm getting a new machine.

also:

df -h /
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              25G   11G   13G  47% /

so the pacman cache is taking up as much space as everything else not in /home. at least I'd know what to do if I needed space.

Offline

#42 2008-08-03 12:23:50

despairblue
Member
From: Germany
Registered: 2008-01-14
Posts: 19

Re: Do not get too excited but......

Mine is the biggest tongue

 du -h /var/cache/pacman/pkg/
6.0G    /var/cache/pacman/pkg/

pkglist

Offline

#43 2008-08-03 17:39:19

MetalRandomist
Member
Registered: 2007-08-16
Posts: 30

Re: Do not get too excited but......

565M    /var/cache/pacman/pkg

Offline

#44 2008-08-03 18:10:39

rooloo
Member
Registered: 2008-07-09
Posts: 218

Re: Do not get too excited but......

despairblue wrote:

Mine is the biggest tongue

9,1G
If I had not found this post I would probably had run out of space soon!

he wins

Offline

#45 2008-08-03 18:13:22

despairblue
Member
From: Germany
Registered: 2008-01-14
Posts: 19

Re: Do not get too excited but......

rooloo wrote:
despairblue wrote:

Mine is the biggest tongue

9,1G
If I had not found this post I would probably had run out of space soon!

he wins

damn it, missed that one....but my time will come...

Offline

#46 2008-08-03 18:48:23

yama
Member
From: Norway
Registered: 2008-04-03
Posts: 71

Re: Do not get too excited but......

Long way to the top for me:/

820M    /var/cache/pacman/pkg

Offline

#47 2008-08-03 19:48:56

BabyDoc
Member
Registered: 2008-03-20
Posts: 76

Re: Do not get too excited but......

778M, cleaned out a few weeks ago

Offline

#48 2008-08-04 11:03:26

serrghi
Member
From: Bergen, NO
Registered: 2008-02-12
Posts: 100
Website

Re: Do not get too excited but......

┌─[serrghi @ serrghi]
└─[~]> du -h /var/cache/pacman/pkg
913M    /var/cache/pacman/pkg


cleaned a week ago hmm


Unyttig.INFO - Your source to not so useless information
My github - Various configs, dotfiles and nifty scripts

Offline

#49 2008-08-04 21:58:54

thisllub
Member
From: Northern NSW Australia
Registered: 2007-12-28
Posts: 231

Re: Do not get too excited but......

3.9G

I never thought of looking there.

Offline

Board footer

Powered by FluxBB