How to check if the PowerChute Business Edition Agent daemon is running on Unix/Linux systems.
Published date:
04 November 2020
Issue:
How to check if the PowerChute Business Edition Agent daemon is running on Unix/Linux systems.
Product Line:
PowerChute Business Edition
Environment:
Unix/Linux systems
Cause:
Product Design
Resolution:
Once the PowerChute Business Edition Agent daemon starts, a file named pbeagent.pid will be created in the directory /etc.
Once the Agent daemon stops, the pbeagent.pid file should be gone. This file stores the Agent daemon's pid (process id).
To check if the PowerChute Agent daemon is running on Unix/Linux system, you will need to do the following:
Step 1: Get the PowerChute Agent daemon pid
The command "cat" or "more" can be used to display the contents of the pbeagent.pid file. The command needed is shown here:
# cat /etc/pbeagent.pid
or
# more /etc/pbeagent.pid
The command will display PowerChute Agent daemon pid on the screen.
Step 2: Search for the PowerChute Agent daemon
use the following command to grep the Agent daemon:
# ps -ef | grep pid
Note: The "pid" value here is derived from Step 1 above.
If the PowerChute Agent is running on the system, the command will return something similar to the following: