List information about a specific physical volume (eg-hdisk1)

lspv hdisk1
This physical volumne - hdisk1 - has TOTAL PPs:11999 (1535872 megabytes) -> 1.5 TB This physical volumne - hdisk1 - has -> 60 GB
Sample Output
:$lspv hdisk1
PHYSICAL VOLUME:    hdisk1                   VOLUME GROUP:     appinstvg
PV IDENTIFIER:      00f6267cb3746d01 VG IDENTIFIER     00f6267c00004c0000000130b376570d
PV STATE:           active                                     
STALE PARTITIONS:   0                        ALLOCATABLE:      yes
PP SIZE:            128 megabyte(s)          LOGICAL VOLUMES:  5
TOTAL PPs:          11999 (1535872 megabytes) VG DESCRIPTORS:   2
FREE PPs:           0 (0 megabytes)          HOT SPARE:        no
USED PPs:           11999 (1535872 megabytes) MAX REQUEST:      256 kilobytes
FREE DISTRIBUTION:  00..00..00..00..00                         
USED DISTRIBUTION:  2400..2400..2399..2400..2400               



:$lspv hdisk0
PHYSICAL VOLUME:    hdisk0                   VOLUME GROUP:     rootvg
PV IDENTIFIER:      00f6267c8a99c7b6 VG IDENTIFIER     00f6267c00004c00000001308a99c86c
PV STATE:           active                                     
STALE PARTITIONS:   0                        ALLOCATABLE:      yes
PP SIZE:            64 megabyte(s)           LOGICAL VOLUMES:  18
TOTAL PPs:          959 (61376 megabytes)    VG DESCRIPTORS:   2
FREE PPs:           457 (29248 megabytes)    HOT SPARE:        no
USED PPs:           502 (32128 megabytes)    MAX REQUEST:      256 kilobytes
FREE DISTRIBUTION:  151..00..00..114..192                      
USED DISTRIBUTION:  41..192..191..78..00                       
MIRROR POOL:        None           


    
MIRROR POOL:        None                                       

0
2012-09-13 15:40:58

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: