Vgs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:


Command that provides information information about [[Linux_Logical_Volume_Management_Concepts#Volume_Group_.28VG.29|volume groups]].
Command that provides information information about [[Linux_Logical_Volume_Management_Concepts#Volume_Group_.28VG.29|volume groups]].
<pre>
# vgs
  VG        #PV #LV #SN Attr  VSize  VFree
  docker_vg  1  0  0 wz--n- 508.00m 508.00m
  main_vg    1  1  0 wz--n-  7.00g      0
</pre>


=Options=
=Options=

Revision as of 03:24, 23 May 2017

Internal

Overview

Command that provides information information about volume groups.

# vgs
  VG        #PV #LV #SN Attr   VSize   VFree
  docker_vg   1   0   0 wz--n- 508.00m 508.00m
  main_vg     1   1   0 wz--n-   7.00g      0

Options

--noheadings

Drops headers, useful when the output if mechanically processed.

-o

Options, displays various fields:

-S

Select: Display only rows that match selection criteria. The fields that can be used are listed in the -o section.

-S vg_name=${something},...