CyberPower Personal Linux Software User Guide

CyberPower Personal Linux Software User Guide

CyberPower-LOGO

CyberPower Personal Linux Software

CyberPower-Personal-Linux-Software-PRODUCT

Nibdew

Isem
pwrstat L-għodda tal-kmand tal-istat tal-enerġija tal-UPS.

Sinossi

CyberPower-Personal-Linux-Software-FEATURED

Deskrizzjoni
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

Għażliet
Il-parametri pwrstat, il-funzjonijiet tagħhom, u l-exampil-lezzjonijiet huma deskritti hawn taħt:

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

Nota 1
L-argumenti li ġejjin għandhom isegwu -pwrfail.

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

Nota 2
L-argumenti li ġejjin għandhom isegwu -lowbatt.

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

Nota 3
L-argumenti li ġejjin għandhom isegwu -cloud.

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

Nota 4

  1. Il-parametri ta' -pwrfail u -lowbatt jeħtieġ li jiġu stabbiliti b'mod indipendenti.
  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

L-Eżamples għall-Konfigurazzjoni tal-Għażliet tal-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: Ikkonfigura l-konnessjoni ma' PowerPanel Cloud.
    pwrstat -cloud -active fuq -kont example@cyberpower.com -password 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: Ivverifika l-konnessjoni ma' PowerPanel Cloud.

pwrstat -verifika

Biex tivverifika jekk il-kont u l-password humiex korretti, daħħal il-kmand hawn fuq.

Hemm tliet riżultati, deskritti hawn taħt:

  1. Meta kemm il-kont kif ukoll il-password huma korretti, is-sistema turi Ivverifika b'suċċess.
  2. Meta jew il-kont jew il-password ma jkunux korretti, is-sistema turi Ivverifika falliet.
  3. When a network issue exists, the system will show Connect failed

Il-Paġna Daemon

Isem
pwrstatd Id-daemon tal-istat tal-enerġija tal-UPS.

Deskrizzjoni
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

Operazzjonijiet tad-Daemon
Il-kmandi għat-tħaddim tad-daemon pwrstatd u l-funzjonijiet tagħhom huma deskritti hawn taħt:

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

Konfigurazzjoni Files tad-Daemon
Il-konfigurazzjoni files u l-funzjonijiet tagħhom huma deskritti hawn taħt:

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

Nota 5
pwrstatd.conf jista' jiġi editjat billi tuża kwalunkwe editur tat-test. Biex tibda teditja l-konfigurazzjoni file, type the following command as root:  vi/etc/pwrstatd.conf *

Take the text editor, vi, for example.
Il-bidliet editjati fl-editur tat-test jidħlu fis-seħħ wara li jerġa' jibda pwrstatd. Biex terġa 'tibda d-daemon, ikteb il-kmand li ġej: /etc/init.d/pwrstatd restart

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

Ġurnali tal-avvenimenti tad-Daemon
The event logs of the pwrstatd daemon are located in the directory: /var/log. The file jismu pwrstatd.log jirreġistra l-avvenimenti kollha tal-enerġija.

Iċċekkja tas-Settings tad-Daemon

Type the following command to show the configuration of pwrstat:

Hawn taħt hemm l-example for daemon configuration:

CyberPower-Personal-Linux-Software-FIG10

Azzjoni għal Ħsara tal-Enerġija:CyberPower-Personal-Linux-Software-FIG11

Azzjoni għal Batterija Baxxa:

CyberPower-Personal-Linux-Software-FIG11

Monitoraġġ tal-Istatus tal-UPS

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

pwrstat -status
Hawn taħt hawn example għall-mudell UPS, CP585:

CyberPower-Personal-Linux-Software-FIG11

Nota 7
Xi wħud mill-oġġetti elenkati hawn fuq se jintwerew biss meta l-mudell UPS jappoġġja l-funzjonijiet relatati.

CYBERPOWER POWERPANEL
Jekk jogħġbok żur https://www.cyberpower.com/content/software/eula/biex tara t-termini sħaħ tal-EULA.

Dokumenti / Riżorsi

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

Staqsi Mistoqsija

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

Staqsi Mistoqsija

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