1834130 Members
2914 Online
110064 Solutions
New Discussion

tool

 
Richard Woolley
Frequent Advisor

tool

Not long ago I downloaded a tool which acted like "du -k" but with an esc-equalls which showed all directories underneath current and how many MB were located under each of the different directories!

I have since forgotten where Ive put it and cannot remember its name, if this sounds familiar (one of the forum member wrote it i do beleive) then please reply with it attached.

cheers,

mark.
4 REPLIES 4
PIYUSH D. PATEL
Honored Contributor

Re: tool

Hi,

you are right. It is du -k only. Check in the /sbin, /usr/bin directories

You can give

# du -k /var ( for var directory)

# du -k ( for current directory)

Divide the output which you get by 2 and you will get the MB used by the filesystem

Also go thro this string


http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x65878cc5e03fd6118fff0090279cd0f9,00.html

Piyush
S.K. Chan
Honored Contributor

Re: tool

Use "du -sk", that gives you the number in Kbytes.
Frederic Sevestre
Honored Contributor

Re: tool

Hi,

# du -skx *

and you will have the size of all the directories on the same filesystem

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
Johannes Seippel
Occasional Advisor

Re: tool

Hi,

this document is nice to know:

BA961218001
Sys Adm: Help! My Filesystem is Full

You will get some examples for the usage of du.