domstate

Displays the state of a virtual server.

Syntax


1  domstate <VS>?  --reason
Where:
<VS>
Is the name, ID, or UUID of the virtual server.

Selected options

--reason
Displays information about the reason why the virtual server entered the current state.

Usage

Displaying information about a virtual server

Example

# virsh domstate vserv1
crashed
# virsh domstate vserv1 --reason
crashed (panicked)