Page tree
For cPanel & WHM version 84
Skip to end of metadata
Go to start of metadata


The /usr/local/cpanel/scripts/upcp-running script determines whether the upcp script is currently running. It returns this information in text output and its exit value. A zero exit value indicates that the upcp script is currently running.

Run the script

To run this script on the command line, use the following format:



Use the following options with this script:

--invert-exitReturns a non-zero error value (-1) if the upcp script is currently running.
/usr/local/cpanel/scripts/upcp-running --invert-exit


The script will return the following output:

upcp is not running.The upcp script is not currently running.
upcp is running.The upcp script is currently running.

Additional documentation