我們的品牌

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

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How to check if the PowerChute Network Shutdown daemon is running on Unix/Linux systems

Issue:
How to check if the PowerChute Network Shutdown daemon is running on Unix/Linux systems?

Product Line:
PowerChute Network Shutdown

Environment:
Unix/Linux systems

Cause:
Informational

Solution:

Once the PowerChute Network Shutdown(PCNS) daemon starts, a file named pcns.pid should be created in the directory where the program is installed. Once the PowerChute daemon stops, the pcns.pid file should be gone. This file stores the PowerChute daemon pid (process id).

Notes :The default installation directory for PowerChute Network Shutdown 2.2.X and higher is /opt/APC/PowerChute/group1 and the default installation directory for  PowerChute Network Shutdown2.1.x and PowerChute Network Shutdown 2.0.x is /bin/PowerChute.

To check if the PowerChute daemon is running on Unix/Linux system, you will need to do as follows:

step 1: get PowerChute daemon pid
The command "cat" or "more" can be used to display the contents of the file pcns.pid .You can also use vi which is full screen editor to open the pcns.pid file to display the PCNS daemon pid. The command need to be entered is shown below :
# cat <installation directory>/pcns.pid
or
# more <installation directory>/pcns.pid
or
# vi <installation directory>/pcns.pid

Note:where installation directory is the directory that PowerChute is installed.

The command will display the PowerChute daemon pid on the screen.

step 2:grep for the PowerChute daemon
use the following command to grep the PowerChute daemon

# ps -ef | grep pid
Note where pid is the PowerChute daemon pid you get in step 1.

If the PowerChute daemon is running on the system, the command will return something similar to the following:

root 12728 1 0 14:26:04 pts/3 0:11 /opt/java/jre/bin ../bin/PARISC/green_threads/jre -cp .
root 13168 3993 1 14:28:59 pts/2 00:00 grep 12728

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

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

施耐德電機Taiwan

探索更多
系列:
探索更多
系列:

需要協助?

  • 產品選型工具

    快速輕鬆地為您的應用找到合適的產品和附件。

  • 取得報價

    立即線上提交您的銷售需求,專業團隊將主動聯繫您。

  • 購買地點

    輕鬆在您所在地區找到最近的施耐德電機經銷商。

  • 支援中心

    在同一位置找到滿足您所有需求的支援資源。

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings