Helix Versioning Engine Control (p4dctl)

The Perforce Service Control (p4dctl) utility allows you to manage Perforce services running on the local host. Non-root users can administer the services they own, while root may administer all services, but may not own any.

Note

p4dctl can only be obtained as part of the UNIX package installation. It is not supported on Windows.

You use the p4dctl utility to configure the environment in which services run and to manage the services themselves. The basic workflow for an administrator using the p4dctl utility is as follows:

  1. Edit a configuration file that defines the environment for the services you want to control.
  2. Execute p4dctl commands to start and stop services, to get information about services, and to checkpoint services.

You can use a single p4dctl command to manage all services or an arbitrary group of services by assigning them a common name in the p4dctl configuration file.

p4dctl introduces no new environment variables; it enforces strict control of the environment of any service it starts according to the directives in the p4dctl configuration file. This prevents failures that stem from the differences between the user’s environment and that of root.