
CyberPower Personal Linux Software

Hasteko
Izena
pwrstat UPS potentzia-egoeraren komando-tresna.
Sinopsia

Deskribapena
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
Aukerak
pwrstat parametroak, haien funtzioak eta adibampjarraian azaltzen dira:


1. oharra
Argumentu hauek -pwrfail jarraitu beharko lukete.

2. oharra
Argumentu hauek -lowbatt jarraitu beharko lukete.

3. oharra
Argumentu hauek -cloud jarraitu beharko lukete.

4. oharra
- -pwrfail eta -lowbatt parametroak independentean ezarri behar dira.
- 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
Adibamppwrstat Aukerak konfiguratzeko fitxategiak
- 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%.
- Examp3a: Konfiguratu PowerPanel Cloud-erako konexioa.
pwrstat -cloud -active -kontuan example@cyberpower.com -pasahitza pasahitza123
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. - Examp3b: Egiaztatu PowerPanel Cloud-erako konexioa.
pwrstat -egiaztatu
Kontua eta pasahitza zuzenak diren egiaztatzeko, idatzi goiko komandoa.
Hiru emaitza daude, jarraian deskribatuta:
- Kontua eta pasahitza zuzenak direnean, sistemak Egiaztatu behar bezala erakutsiko du.
- Kontua edo pasahitza okerra denean, sistemak Egiaztatu huts egin du erakutsiko du.
- When a network issue exists, the system will show Connect failed
Daemon Orria
Izena
pwrstatd UPS potentzia-egoeraren daemon.
Deskribapena
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
Daemonaren eragiketak
pwrstatd daemon funtzionatzeko komandoak eta haien funtzioak deskribatzen dira jarraian:

Konfigurazioa FileDaemonaren s
Konfigurazioa files eta haien funtzioak jarraian deskribatzen dira:

5. oharra
pwrstatd.conf edozein testu-editore erabiliz edita daiteke. Konfigurazioa editatzen hasteko file, type the following command as root: vi/etc/pwrstatd.conf *
Take the text editor, vi, for example.
Testu-editorean editatutako aldaketak pwrstatd berrabiarazi ondoren izango du eragina. Deabrua berrabiarazteko, idatzi komando hau: /etc/init.d/pwrstatd restart
6. oharra
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.
Daemon-en gertaeren erregistroak
The event logs of the pwrstatd daemon are located in the directory: /var/log. The file pwrstatd.log izenekoak botere-gertaera guztiak erregistratzen ditu.
Daemon ezarpenak egiaztatzea
Type the following command to show the configuration of pwrstat:
Jarraian, example for daemon configuration:

Elektrizitatearen hutsegitearen aurkako ekintza:
Bateria baxurako ekintza:

UPS egoeraren jarraipena
Type the following command to show UPS properties and the current status:
pwrstat -status
Jarraian, exampUPS eredurako, CP585:

7. oharra
Goian zerrendatutako elementuetako batzuk UPS modeloak erlazionatutako funtzioak onartzen dituenean soilik bistaratuko dira.
CYBERPOWER POWERPANEL
Mesedez, bisitatu https://www.cyberpower.com/content/software/eula/to see the complete EULA terms.
Dokumentuak / Baliabideak
![]() | Personal Linux Software |
Erreferentziak
- 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
- sourceforge.net/sourceforge.net
- cyberpower.comwww.cyberpower.com
- cyberpower.com/content/software/eula/www.cyberpower.com
- Erabiltzailearen eskuliburuamanual.tools

