checking hard disk space, folder by folder

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
dexter1
Moderator
Moderator
Posts: 2743
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Re: checking hard disk space, folder by folder

Unread postby dexter1 » Thu Jan 07, 2016 6:58 am

Something like

Code: Select all

du -Rsk *
?
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP:

User avatar
dexter1
Moderator
Moderator
Posts: 2743
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Re: checking hard disk space, folder by folder

Unread postby dexter1 » Thu Jan 07, 2016 8:18 am

The -R option in IRIX 'du' will suppress warnings about not being able to access directories and files due to not having the right permissions. Linux 'du' does not have that option so you can safely ignore it there.
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP:

User avatar
miod
Posts: 514
Joined: Fri Oct 09, 2009 2:44 am
Location: Clermont-Ferrand (France)
Contact:

Re: checking hard disk space, folder by folder

Unread postby miod » Thu Jan 07, 2016 9:47 am

As a minimum, you want to use the -s option of du instead of using a temporary file and picking the last line from it.
:Indigo:R3000 (alas, dead) :Indigo:R4000 x4 :Indigo2:R4400 :Indigo2IMP:R4400 x2 :Indigo2:R8000 :Indigo2IMP:R10000 :Indy:R4000PC :Indy:R4000SC :Indy:R4400SC :Indy:R4600 :Indy:R5000SC :O2:R5000 x3 :O2:RM7000 :Octane:2xR10000 :Octane:R12000 :O200:2xR12000 :O200: - :O200:2x2xR10000 :Fuel:R16000 :O3x0:4xR16000 :A350:
among more than 150 machines : Apollo, Data General, Digital, HP, IBM, MIPS before SGI, Motorola, NeXT, SGI, Solbourne, Sun...


Return to “IRIX and Software”

Who is online

Users browsing this forum: No registered users and 2 guests