du -sg .

I need to know the total size of alloted size (not actually used size) of all vgs and files an AIX node?

What is the command that gives you the total alloted size (sum of Total PP Size)?
Would  ' du -sg . ' work?
 
ethanjohnsonsAsked:
Who is Participating?
 
Kent OlsenConnect With a Mentor Data Warehouse Architect / DBACommented:
Hi ethanjohnsons,

Sorry.  I misunderstood.

Start with a nested call to lsvg.

lsvg -p `lsvg`

`lsvg` will pass all of the volume group names to an execution of lsvg with a -p parameter.

Good Luck,
Kent
0
 
Kent OlsenData Warehouse Architect / DBACommented:
Hi ethanjohnsons,

There are a number of ways to do this.  The infamous "df -m" comes most quicly to mind.


Good Luck,
Kent
0
 
ethanjohnsonsAuthor Commented:
df is for only mounted filesystems...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.