du -sg .

Posted on 2007-10-17
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?
Question by:ethanjohnsons
    LVL 45

    Expert Comment

    Hi ethanjohnsons,

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

    Good Luck,

    Author Comment

    df is for only mounted filesystems...
    LVL 45

    Accepted Solution

    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,

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    About FreeBSD Jails In FreeBSD, jails are a way of doing operating system level virtualization.  The basis of FreeBSD jails is chroot (, which changes the root directory of processes.  As a…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Video by: Phil
    This video goes over how to configure and start a jail in FreeBSD.  This video is meant to supplement the article included with this course.

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now