
CyberPower Personal Linux Software

시작하기
이름
pwrstat UPS 전원 상태 명령 도구입니다.
개요

설명
pwrstat is an interface in PowerPaneI for Linux which allows users to receive UPS status and configure UPS settings.
Type the following command to list the manual: man pwrstat
옵션
pwrstat 매개변수, 해당 기능 및 examp파일은 아래에 설명되어 있습니다.


노트 1
다음 인수는 -pwrfail 다음에 와야 합니다.

노트 2
다음 인수는 -lowbatt 다음에 와야 합니다.

노트 3
다음 인수는 -cloud 다음에 와야 합니다.

노트 4
- -pwrfail 및 -lowbatt의 매개변수는 독립적으로 설정해야 합니다.
- Both the shell scripts pwrstatd-lowbatt.sh and pwrstatd-powerfail.sh will be copied to Jetc during the installation procedure.
- The parameter —cmd can be any shell script in the system, and it should be run as root to modify the settings.
- The default system settings for -pwrfail and -lowbatt
전직amppwrstat 옵션 구성을 위한 파일
- Example 1: Configure the setting when a power failure event occurs. pwrstat -pwrfail -delay 60 -active on -cmd/etc/pwrstatd-powerfail.sh -duration 60 -shutdown on In the setting above, it will take 60 seconds to run a shell script named pwrstatd-powerfail.sh in the directory /etc, and the system will be shut down after a power failure event occurs for 60 seconds.
- Example 2: Configure the setting when the low battery event occurs. pwrstat-lowbatt -runtime -runtime -capacity -capacity – active on -cmd /etc/pwrstatd-lowbatt.sh -duration 1 -shutdown on In the setting above, it will take 1 minute to run a shell script named pwrstatd-lowbatt.sh in the directory /etc, and the system will be shut down when either the remaining runtime is less than 300 seconds, or the battery capacity is lower than 35%.
- Example 3a: PowerPanel Cloud에 대한 연결을 구성합니다.
pwrstat -cloud -active on -account example@cyberpower.com -비밀번호 pass123
Assuming PowerPanel Cloud account/password: example@cyberpower.com / pass123. In the setting above, the connection to PowerPanel Cloud will be activated when users correctly enter their PowerPanel Cloud account and password. - Example 3b: PowerPanel 클라우드에 대한 연결을 확인합니다.
pwrstat -확인
계정과 암호가 올바른지 확인하려면 위의 명령을 입력하십시오.
아래에 설명된 세 가지 결과가 있습니다.
- 계정과 암호가 모두 정확하면 시스템에 확인 성공이 표시됩니다.
- 계정이나 암호가 올바르지 않으면 시스템에 확인 실패가 표시됩니다.
- When a network issue exists, the system will show Connect failed
데몬 페이지
이름
pwrstatd UPS 전원 상태 데몬입니다.
설명
pwrstatd is the daemon of PowerPanel for Linux, which runs immediately when the system starts up and communicates with the UPS.
Type the following command to list the operations and the configuration files of the daemon: man pwrstatd
데몬의 작전
pwrstatd 데몬을 작동하기 위한 명령과 해당 기능은 아래에 설명되어 있습니다.

구성 File데몬의
구성 files 및 해당 기능은 아래에 설명되어 있습니다.

노트 5
pwrstatd.conf는 텍스트 편집기를 사용하여 편집할 수 있습니다. 구성 편집을 시작하려면 file, type the following command as root: vi/etc/pwrstatd.conf *
Take the text editor, vi, for examp르.
텍스트 편집기에서 편집한 변경 사항은 pwrstatd를 다시 시작한 후에 적용됩니다. 데몬을 다시 시작하려면 다음 명령을 입력합니다. /etc/init.d/pwrstatd restart
노트 6
To send the e-mail content in /etc/pwrstatd-email.sh, it is necessary to set ENABLE_EMAIL=yes and enter both the RECEIPT_ADDRESS and the SENDER_ADDRESS correctly in /etc/pwrstatd-lowbatt.sh or /etc/pwrstatd- powerfail.sh. For details about installing the e-mail package in Ubuntu, please refer to troubleshooting 6.
데몬의 이벤트 로그
The event logs of the pwrstatd daemon are located in the directory: /var/log. The file 명명된 pwrstatd.log는 모든 전원 이벤트를 기록합니다.
데몬 설정 확인
Type the following command to show the configuration of pwrstat:
아래는 전ample for daemon configuration:

정전 시 조치:
배터리 부족에 대한 조치:

UPS 상태 모니터링
Type the following command to show UPS properties and the current status:
pwrstat -status
아래는 전입니다ampUPS 모델 CP585의 경우:

노트 7
위에 나열된 항목 중 일부는 UPS 모델이 관련 기능을 지원하는 경우에만 표시됩니다.
CYBERPOWER POWERPANEL
방문해주세요 https://www.cyberpower.com/content/software/eula/전체 EULA 조건을 확인하세요.
문서 / 리소스
![]() | Personal Linux Software |
참고문헌
- cp.mcafee.com/d/2DRPoQ86Qm6jhO-OOVt4TsSepd79EVuKqerCNP9EVd7bOb8USepd79EVuKqekPqdXIzDD4Snzq1foR1lBG637bCXbkc6end-zHO5DT-LObzXXwW_nKnjjhjVBBdBV5zG8FHnjlKejVkffGhBrwqrhdFECXYDtNwse7cFL6XCM0lyN3UHlcv7BPvDOxRysLw2H5y7NmGo-fbCQQPhPtMQsCMmd96y09Q-9EDEq81Locp.mcafee.com
- pwrstatd-email.shpwrstatd-email.sh
- pwrstatd-lowbatt.shpwrstatd-lowbatt.sh
- pwrstatd-powerfail.shpwrstatd-powerfail.sh
- rpmfind.net/rpmfind.net
- 소스포지.net/sourceforge.net
- 사이버파워닷컴www.cyberpower.com
- cyberpower.com/content/software/eula/www.cyberpower.com
- 사용자 설명서manual.tools

