console

Displays the console of a virtual server.

Syntax


1  console <VS>?  <alternate-console-name>?   --safe?   --force
Where:
<alternate-console-name>
Is the device alias name of an alternative console that is configured for the virtual server.
<VS>
Is the name, the ID, or the UUID of the virtual server.

Selected options

--force
Disconnects any session in a case the connection is disrupted.
--safe
Only connects to the console if the host ensures exclusive access to the console.

Usage

Connecting to the console of a virtual server

Example

This example connects to the console of virtual server vserv1.
# virsh console vserv1