kvm.status
Retrieve the status of a KVM virtual machine.
JSON-RPC Request
{"jsonrpc":"2.0","id":1,"method":"kvm.status","params":{"hostname":"kvm1"}}
Request Parameters
| Argument | Type | Description | Required |
|---|---|---|---|
hostname | String | The name of the virtual machine. | Yes |
JSON-RPC Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "running"
}
RVC CLI Example
rvc kvm status --hostname kvm1
Response
running