VMware

Services Namespace

Services namespace provides commands Manages services.

List of commands:



Control Command

dcli com vmware appliance techpreview services control

Description

Manage a service with arbitrary command and arguments.

Options

Option Name Type Required Description
args string Yes Array of arguments.
name string Yes Name of the service.
timeout int Yes Timeout in seconds. Zero (0) means no timeout.

Example

dcli com vmware appliance techpreview services control --args testString --name testString --timeout test


List Command

dcli com vmware appliance techpreview services list

Description

Get a list of all known services.

Example

dcli com vmware appliance techpreview services list


Stop Command

dcli com vmware appliance techpreview services stop

Description

Stop a service

Options

Option Name Type Required Description
name string Yes Name of service.
timeout int Yes Timeout in seconds. Zero (0) means no timeout.

Example

dcli com vmware appliance techpreview services stop --name testString --timeout test


Restart Command

dcli com vmware appliance techpreview services restart

Description

start or restart a service

Options

Option Name Type Required Description
name string Yes Name of the service to start or restart.
timeout int Yes Timeout in seconds. Zero (0) means no timeout.

Example

dcli com vmware appliance techpreview services restart --name testString --timeout test