2025-03-14 21:59:59 -06:00
|
|
|
# vgs
|
|
|
|
|
|
|
|
|
|
> Display information about volume groups.
|
|
|
|
|
> See also: `lvm`.
|
|
|
|
|
> More information: <https://manned.org/vgs>.
|
|
|
|
|
|
|
|
|
|
- Display information about volume groups:
|
|
|
|
|
|
|
|
|
|
`vgs`
|
|
|
|
|
|
|
|
|
|
- Display all volume groups:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`vgs {{[-a|--all]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Change default display to show more details:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`vgs {{[-v|--verbose]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display only specific fields:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`vgs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Append field to default display:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`vgs {{[-o|--options]}} +{{field_name}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Suppress heading line:
|
|
|
|
|
|
|
|
|
|
`vgs --noheadings`
|
|
|
|
|
|
|
|
|
|
- Use separator to separate fields:
|
|
|
|
|
|
|
|
|
|
`vgs --separator =`
|