Operating System - HP-UX
1753767 Members
5954 Online
108799 Solutions
New Discussion

Filesystem size in GB Command needed...Please..

 
redhat7012
Advisor

Filesystem size in GB Command needed...Please..

Hi ,

 

In HP-UX box, if I run # du -sk *    this command is not working in HP-UX box.

 

I want to check the filesysystem size in GB.

 

Can anybody help me the command to chec kthe filesystems size in GB on HP-UX box.

 

#du -sk * works only on LINUX,AIX and SOLARIS.

 

It is not working on HP-UX box.

 

Regards,

Aparna.

 

 

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Filesystem size in GB Command needed

>du -sk *    this command is not working in HP-UX box.

 

What's not working?  This returns the grand total (-s) of the files in KB (-k).

(My Linux system indicates human readable is -h.)

 

If you want filesystem size, you should be using bdf, not du.

If you want various larger units, there is Bill's bdfmegs:

http://h30499.www3.hp.com/t5/LVM-and-VxVM/bdfmegs-ver-6-1-available/m-p/5406049