Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

du -sg .

Posted on 2007-10-17
3
Medium Priority
?
396 Views
Last Modified: 2013-11-17
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?
 
0
Comment
Question by:ethanjohnsons
  • 2
3 Comments
 
LVL 46

Expert Comment

by:Kent Olsen
ID: 20096424
Hi ethanjohnsons,

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


Good Luck,
Kent
0
 

Author Comment

by:ethanjohnsons
ID: 20096467
df is for only mounted filesystems...
0
 
LVL 46

Accepted Solution

by:
Kent Olsen earned 375 total points
ID: 20096554
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month20 days, 21 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question