cancel
Showing results for 
Search instead for 
Did you mean: 

disk utilisation in HP -ux

Former Member
0 Kudos

HI all,

When i am typing du -k in hp -ux machine i am getting a big list of how much space is being utilised.How to get the size of the current folder.

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

> When i am typing du -k in hp -ux machine i am getting a big list of how much space is being utilised.How to get the size of the current folder.

I suggest you read the man page of du:

man du

which says

-s             Print only the grand total of disk usage for each
                          of the specified name operands.

Markus

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ambarish,

du -k or only du will give you the size of the current folder as well as folders under your current folder.

In the bottom of your big list you can see total space utilized by the folder.

Regards,

Sudip

Former Member
0 Kudos

use, du -sk . (. specify the current dir)

or du -sk directoryname

use man help for du