Nhãn hiệu của chúng tôi

Impact-Company-Logo-English Black-01-177x54

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.
		
Hôm nay chúng tôi có thể giúp gì cho bạn?
How to check if the PowerChute Agent daemon is running on Unix/Linux systems.

Issue:
How to check if the PowerChute Agent daemon is running on Unix/Linux systems.

Product Line:
PowerChute Business Edition
PowerChute Serial Shutdown

Environment:
Unix/Linux systems

Cause:
Product Design

Resolution:

Open a terminal session and enter the command sudo systemctl status PBEAgent.

If the service is not running, to start the service, enter the command sudo systemctl start PBEAagent

Once the PowerChute Agent daemon starts, a file named pbeagent. A pid file will be created in the/etc directory.
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:

root 7509 1 0 13:40? 00:00:26 /bin/java/jre/1.4/bin/java -Dpicard. main.thread=blocking -classpath ./lib/AdvSnmp.jar:./lib/application.jar:./lib/jsdk.jar:./lib/comm.jar:./lib/mail.jar:./lib/RXTXComm.jar:./lib/activation.jar:./lib/util.jar:./lib/m11.jar:./lib/ds.jar:./lib/sss.jar:./lib/pcbe_ds.jar:./com...
root 8170 8143 0 14:36 pts/0 00:00:00 grep 7509

Please note that the Agent is a Java process and only Java related information is returned.

If the PowerChute Agent daemon is not running or not running normally, the command will only return one line that stands for the grep process itself.

Schneider Electric Việt Nam

Tìm hiểu thêm
Phạm vi:
Danh mục:
Tìm hiểu thêm
Phạm vi:
Danh mục:
  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cộng đồng Schneider Electric
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings