Hi,
What are the correct parameters to list folders size in MBs under a particular directory in HP-UX ?
I know
and
commands but cannot get the output of folder sizes in MBs.
Hi,
What are the correct parameters to list folders size in MBs under a particular directory in HP-UX ?
I know
and
commands but cannot get the output of folder sizes in MBs.
df display filesystem disk usage
du display the actual file space usage.. you can use du.. just look for option like -g or -h to get the desired output.. read man page I am sure it has go some option..
the
du -H
command drills down all sub-directories which I do not want. I just want to see all directories in the parent directory and not drill further down. Also, it does not show me in MBs.
take a look at -s option.. if its there
Try du -sk <dirname>
.
Regards
Peasant.