System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to find total disk space

Karthika_2
Occasional Advisor

Need to find total disk space

Hi all,

I need a command to find the total and used file system size of the disk . And also the command to find the total and used DB space.

Can anyone guide me with commands ?

Thanks in Advance !!!

Thanks ,
Karthi

6 REPLIES
Berd
Trusted Contributor

Re: Need to find total disk space

Karthi,

bdf / will provide useage details for a single mount point.

vgdisplay will provide you with free space info within a volume group, see Total PE and Free PE.

Is this what you were after ?

Regards,
Berd
smatador
Honored Contributor

Re: Need to find total disk space

Jorge Pons
Trusted Contributor

Re: Need to find total disk space

Hi Karthi


I complement the answer of Bernd with other command.
You can use "du -k" command to see the size of your directories.

Regards, Jorge
Jestin John Chacko
Regular Advisor

Re: Need to find total disk space

Dear Karti

Use bdf you will get all the required data from all the file systems, also for disk usage use du -sk.Please Go through the man pages of both.

Thanks.
Jorge Pons
Trusted Contributor

Re: Need to find total disk space

Hi

Also you can use "diskinfo /dev/rdsk/cxtydz" to see the size of your physical disk.

Regards, Jorge
Hakki Aydin Ucar
Honored Contributor

Re: Need to find total disk space

there is a good script under header "A script tells total Disk size on the server; " at address:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1369505