I run the command df -g to get the GB block sizes in the second column (left to right). If I want to get the total capacity for all hard disks, which command should I use?
OS is AIX.
|
|
For AIX try the following, which does NOT need to be run as root:
The output will be returned in MB. |
||||
|
|
|
Not sitting in front of an AIX system, but try this:
Edit: this won't work in AIX. But I'll leave this here for anyone else who might need it on GNU systems. |
|||||||
|
Or via ODM:
|
||||
|
|
|
I know you didn't ask this directly but |
|||
|
|
|
The following command will help you to find total size of each hdd on your system.
|
|||
|
|