Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command to check space

Status
Not open for further replies.

zircon06

Technical User
Jan 8, 2007
81
Can one help me with command to check on space on aix 5.21 box

Thanks
 
df -k (kilobytes) or df -g (gigs)

I want to be good, is that not enough?
 
I would add to that:

du -sg

You have to go to the directory of interest before doing that!

man du

regards,
Khalid
 
ok, I would add a couple commands to the above.
the df and du commands tell you how space in an already created filesystem you have left.
Well, what about the space I have left on the disk that is not allocated to a filesystem.
first, list your logical volumes:
#lsvg
next check for free physical partitions (pp's)
#lsvg -p roovg
or
#lsvg -p usercreatedVG

thses free pp's if you have any could be used to expand a full filesystem or to create a new filesystem.
hope that this helps
LarryBoy "I ... am... that ... Hero
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top