vgs
The command line tool "vgs" is a part of the LVM (Logical Volume Manager) package in Linux. It stands for "Volume Group Scan" and is used to display information about volume groups, including their names, sizes, free space, and physical volumes. The tool provides a summary of all volume groups configured on the system, allowing users to manage and troubleshoot storage resources. When executed without any arguments, "vgs" displays a tabular output format that includes the volume group name, attributes, size, number of logical volumes, physical volumes, and available space. Using the "-o" option, users can specify which fields they want to display, offering flexibility in customizing the output. Additionally, the "-v" or "--verbose" option provides a detailed view with additional information about the volume groups. The "vgs" command is a powerful tool for system administrators and users who need to manage and maintain volume groups on their Linux systems.
List of commands for vgs:
-
vgs:tldr:0a698 vgs: Suppress heading line.$ vgs --noheadingstry on your machineexplain this command
-
vgs:tldr:47bee vgs: Use separator to separate fields.$ vgs --separator =try on your machineexplain this command
-
vgs:tldr:62ab3 vgs: Change default display to show more details.$ vgs -vtry on your machineexplain this command
-
vgs:tldr:b77f4 vgs: Append field to default display.$ vgs -o +${field_name}try on your machineexplain this command
-
vgs:tldr:da936 vgs: Display information about volume groups.$ vgstry on your machineexplain this command
-
vgs:tldr:f4af0 vgs: Display only specific fields.$ vgs -o ${field_name_1},${field_name_2}try on your machineexplain this command