static const vshCmdDef monitoringCmds[] = {
{.name = "srv-list",
+ .flags = VSH_CMD_FLAG_ALIAS,
+ .alias = "server-list"
+ },
+ {.name = "server-list",
.handler = cmdSrvList,
.opts = NULL,
.info = info_srv_list,
.flags = 0
},
{.name = "srv-threadpool-info",
+ .flags = VSH_CMD_FLAG_ALIAS,
+ .alias = "server-threadpool-info"
+ },
+ {.name = "server-threadpool-info",
.handler = cmdSrvThreadpoolInfo,
.opts = opts_srv_threadpool_info,
.info = info_srv_threadpool_info,
.flags = 0
},
{.name = "srv-clients-list",
+ .flags = VSH_CMD_FLAG_ALIAS,
+ .alias = "client-list"
+ },
+ {.name = "client-list",
.handler = cmdSrvClientsList,
.opts = opts_srv_clients_list,
.info = info_srv_clients_list,
.flags = 0
},
{.name = "srv-clients-info",
+ .flags = VSH_CMD_FLAG_ALIAS,
+ .alias = "server-clients-info"
+ },
+ {.name = "server-clients-info",
.handler = cmdSrvClientsInfo,
.opts = opts_srv_clients_info,
.info = info_srv_clients_info,
static const vshCmdDef managementCmds[] = {
{.name = "srv-threadpool-set",
+ .flags = VSH_CMD_FLAG_ALIAS,
+ .alias = "server-threadpool-set"
+ },
+ {.name = "server-threadpool-set",
.handler = cmdSrvThreadpoolSet,
.opts = opts_srv_threadpool_set,
.info = info_srv_threadpool_set,
.flags = 0
},
{.name = "srv-clients-set",
+ .flags = VSH_CMD_FLAG_ALIAS,
+ .alias = "server-clients-set"
+ },
+ {.name = "server-clients-set",
.handler = cmdSrvClientsSet,
.opts = opts_srv_clients_set,
.info = info_srv_clients_set,
=over 4
-=item B<srv-list>
+=item B<server-list>
Lists all manageable servers contained within the daemon the client is
currently connected to.
=over 4
-=item B<srv-threadpool-info> I<server>
+=item B<server-threadpool-info> I<server>
Retrieve server's threadpool attributes. These attributes include:
finish. An example of such a task this would be destroying a domain:
$ virsh destroy <domain>.
-=item B<srv-threadpool-set> I<server> [I<--min-workers> B<count>]
+=item B<server-threadpool-set> I<server> [I<--min-workers> B<count>]
[I<--max-workers> B<count>] [I<--priority-workers> B<count>]
Change threadpool attributes on a server. Only a fraction of all attributes as
-described in I<srv-threadpool-info> is supported for the setter.
+described in I<server-threadpool-info> is supported for the setter.
=over 4
=back
-=item B<srv-clients-list> I<server>
-
-Print a table showing the list of clients connected to <server>, also providing
-information about transport type used on client's connection (supported
-transports include B<unix>, B<tcp>, and B<tls>), as well as providing
-information about client's connection time (system local time is used).
-
-=item B<srv-clients-info> I<server>
+=item B<server-clients-info> I<server>
Get information about the current setting of limits regarding connections of new
clients. This information comprises of the limits to the maximum number of
I<server> and the current number of clients waiting for authentication.
B<Example>
- # virt-admin srv-clients-info libvirtd
+ # virt-admin server-clients-info libvirtd
nclients_max : 120
nclients : 3
nclients_unauth_max : 20
nclients_unauth : 0
-=item B<srv-clients-set> I<server> [I<--max-clients> B<count>]
+=item B<server-clients-set> I<server> [I<--max-clients> B<count>]
[I<--max-unauth-clients> B<count>]
Set new client-related limits on I<server>.
The following commands provide management and monitoring of clients connected to
one of daemon's available servers. Clients are specified by their numeric ID
which is obtained by listing all clients connected to a specified server
-(see command B<srv-clients-list>).
+(see command B<client-list>).
=over 4
+=item B<client-list> I<server>
+
+Print a table showing the list of clients connected to <server>, also providing
+information about transport type used on client's connection (supported
+transports include B<unix>, B<tcp>, and B<tls>), as well as providing
+information about client's connection time (system local time is used).
+
=item B<client-info> I<server> I<client>
Retrieve identity information about I<client> from I<server>. The attributes