- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Total VG's and Total Size All (GB)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2013 08:52 AM
07-30-2013 08:52 AM
Hi,
I know, we use #vgdisplay command to find the volume group information. Can you please tell the command to display the
1. Total Numbe of VG's and
2. Total size All
Thanks in advance
Sam
Solved! Go to Solution.
- Tags:
- vgdisplay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2013 11:30 AM - edited 07-30-2013 12:04 PM
07-30-2013 11:30 AM - edited 07-30-2013 12:04 PM
SolutionThere isnt really a single command, but you can use vgdisplay to get what you are looking for:
Total number of VG's:
# vgdisplay | grep "VG Name"| wc -l
As far as total size, what are you looking for?
- Total allocated size?
- Total size used or available?
If you want total size you can use vgdisplay and grep out "Total PE". Then you will need to know the PE size and then do the math. Do this for each VG and again do the math. This will get you the amount of space in MB used by the volume groups also accounting for any mirroring, etc.
-Bob
(edited for poor wording on my part)
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2013 08:56 PM
07-30-2013 08:56 PM
Re: Total VG's and Total Size All (GB)
Thank you!