Linux command
virsh-help 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List all available commands
virsh help
Show detailed help for a specific command
virsh help [start]
List all domain management commands
virsh help domain
List all network commands
virsh help network
List all storage pool commands
virsh help pool
说明
virsh help displays help for virsh commands and command groups. When called without arguments, it lists all commands grouped by category with a keyword for each group. When given a command name, it shows detailed usage, options, and description for that command. When given a group keyword, it lists only the commands in that group.
参数
- domain
- Domain (virtual machine) management commands.
- interface
- Host interface commands.
- network
- Virtual network commands.
- nodedev
- Host device commands.
- pool
- Storage pool commands.
- volume
- Storage volume commands.
- snapshot
- Domain snapshot commands.
- monitor
- Connection and event monitoring commands.
FAQ
What is the virsh-help command used for?
virsh help displays help for virsh commands and command groups. When called without arguments, it lists all commands grouped by category with a keyword for each group. When given a command name, it shows detailed usage, options, and description for that command. When given a group keyword, it lists only the commands in that group.
How do I run a basic virsh-help example?
Run `virsh help` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does domain do in virsh-help?
Domain (virtual machine) management commands.