The service-control command performs operation on VMware services. By default, the services selected are based on current startup profile. This can be overridden by using --all and --vmon-profile options.
Arguments
Description
-h
Show help message
--start
Start operation on VMware service(s)
--stop
Stop operation VMware service(s)
--status
List and get status of VMware service(s)
--vmon-profile
Specific profile: VMON_PROFILE
--all
Services associated with given profile name. Start/Stop all VMware services.
--ignore
Ignore errors. Continue with given operation even if errors occur.
To query an individual service run service-control --status <service_name> $ service-control --status vmware-cm Running: vmware-cm
To stop an individual VMware service, run service-control --stop <service_name> $ service-control --stop vmware-cm
To start an individual VMware service, run the service-control --start <service_name> $ service-control --start vmware-cm
To stop all VMware services, run service-control --stop --all $ service-control --stop --all
To start all VMware services, run service-control --start --all $ service-control --start --all
Note: There is no service-control --restart command.
Photon OS
For Photon OS service manipulation, use the following commands instead of their SLES counterparts. These commands must be used from the BASH Shell.