CyberPower Personal Linux Software User Guide

CyberPower Personal Linux Software User Guide

CyberPower-LOGO

CyberPower Personal Linux Software

CyberPower-Personal-Linux-Software-PRODUCT

Kako začeti

Ime
pwrstat Ukazno orodje za stanje napajanja UPS.

Sinopsis

CyberPower-Personal-Linux-Software-FEATURED

Opis
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

Možnosti
Parametri pwrstat, njihove funkcije in exampso opisane spodaj:

CyberPower-Personal-Linux-Software-FIG (2)CyberPower-Personal-Linux-Software-FIG (3)

Opomba 1
Naslednji argumenti morajo slediti -pwrfail.

CyberPower-Personal-Linux-Software-FIG (4)

Opomba 2
Naslednji argumenti bi morali slediti -lowbatt.

CyberPower-Personal-Linux-Software-FIG (5)

Opomba 3
Slediti morajo naslednji argumenti -oblak.

CyberPower-Personal-Linux-Software-FIG (6)

Opomba 4

  1. Parametra -pwrfail in -lowbatt je treba nastaviti neodvisno.
  2. Both the shell scripts pwrstatd-lowbatt.sh and pwrstatd-powerfail.sh will be copied to Jetc during the installation procedure.
  3. The parameter —cmd can be any shell script in the system, and it should be run as root to modify the settings.
  4. The default system settings for -pwrfail and -lowbatt

Nekdanjiampdatoteke za konfiguriranje možnosti pwrstat

  • 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: Konfigurirajte povezavo s PowerPanel Cloud.
    pwrstat -cloud -aktiven na -računu example@cyberpower.com -geslo 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: Preverite povezavo s PowerPanel Cloud.

pwrstat -preveri

Če želite preveriti, ali sta račun in geslo pravilna, vnesite zgornji ukaz.

Spodaj so opisani trije rezultati:

  1. Ko sta račun in geslo pravilna, bo sistem prikazal Uspešno preverjanje.
  2. Če sta bodisi račun ali geslo napačna, bo sistem prikazal Preverjanje ni uspelo.
  3. When a network issue exists, the system will show Connect failed

Stran Daemon

Ime
pwrstatd Demon stanja napajanja UPS.

Opis
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

Delovanje demona
Ukazi za delovanje demona pwrstatd in njihove funkcije so opisani spodaj:

CyberPower-Personal-Linux-Software-FIG (7)

Konfiguracija Files Daemona
Konfiguracija files in njihove funkcije so opisane spodaj:

CyberPower-Personal-Linux-Software-FIG (7)

Opomba 5
pwrstatd.conf lahko urejate s katerim koli urejevalnikom besedil. Za začetek urejanja konfiguracije file, type the following command as root:  vi/etc/pwrstatd.conf *

Take the text editor, vi, for example.
Spremembe, urejene v urejevalniku besedil, bodo začele veljati po ponovnem zagonu pwrstatd. Če želite znova zagnati demon, vnesite naslednji ukaz: /etc/init.d/pwrstatd restart

Opomba 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.

Dnevniki dogodkov Daemona
The event logs of the pwrstatd daemon are located in the directory: /var/log. The file z imenom pwrstatd.log beleži vse dogodke napajanja.

Preverjanje nastavitev Daemon

Type the following command to show the configuration of pwrstat:

Spodaj je bivšiample for daemon configuration:

CyberPower-Personal-Linux-Software-FIG10

Ukrep ob izpadu električne energije:CyberPower-Personal-Linux-Software-FIG11

Ukrep ob izpraznjeni bateriji:

CyberPower-Personal-Linux-Software-FIG11

Spremljanje stanja UPS

Type the following command to show UPS properties and the current status:

pwrstat -status
Spodaj je bivšiample za model UPS, CP585:

CyberPower-Personal-Linux-Software-FIG11

Opomba 7
Nekateri od zgornjih elementov bodo prikazani le, če model UPS podpira povezane funkcije.

CYBERPOWER POWERPANEL
Prosim obiščite https://www.cyberpower.com/content/software/eula/za ogled celotnih pogojev pogodbe EULA.

Dokumenti / Viri

PDF thumbnailPersonal Linux Software
User Guide · Personal Linux Software, Software

Postavite vprašanje

Use this section to ask about setup, compatibility, troubleshooting, or anything missing from this manual.

Postavite vprašanje

Ask about setup, compatibility, troubleshooting, or anything missing from this manual. Name and email are optional.