CyberPower Personal Linux Software User Guide

CyberPower Personal Linux Software User Guide

I-CyberPower-LOGO

CyberPower Personal Linux Software

CyberPower-Personal-Linux-Software-PRODUCT

Ukuqalisa

Igama
pwrstat Ithuluzi le-UPS power state command.

Amazwibela

CyberPower-Personal-Linux-Software-FEATURED

Incazelo
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

Izinketho
Amapharamitha we-pwrstat, imisebenzi yawo, kanye ne-examplezi zichazwe ngezansi:

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

Inothi 1
Izimpikiswano ezilandelayo kufanele zilandele -pwrfail.

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

Inothi 2
Izimpikiswano ezilandelayo kufanele zilandele -lowbatt.

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

Inothi 3
Izimpikiswano ezilandelayo kufanele zilandele -cloud.

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

Inothi 4

  1. Amapharamitha we -pwrfail kanye ne -lowbatt adinga ukusethwa ngokuzimela.
  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

I-Examples yokulungiselela Izinketho ze-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: Lungiselela ukuxhumana ku-PowerPanel Cloud.
    pwrstat -cloud -active on -account example@cyberpower.com - iphasiwedi 123
    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.
  • Exampi-3b: Qinisekisa uxhumano ku-PowerPanel Cloud.

pwrstt -qinisekisa

Ukuze uqinisekise ukuthi i-akhawunti nephasiwedi zilungile yini, faka umyalo ongenhla.

Kunemiphumela emithathu, echazwe ngezansi:

  1. Uma kokubili i-akhawunti nephasiwedi kulungile, isistimu izobonisa Qinisekisa ngempumelelo.
  2. Uma i-akhawunti noma iphasiwedi ingalungile, isistimu izobonisa okuthi Qinisekisa kuhlulekile.
  3. When a network issue exists, the system will show Connect failed

Ikhasi le-Daemon

Igama
pwrstatd I-daemon yesimo samandla e-UPS.

Incazelo
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

Imisebenzi ye-Daemon
Imiyalo yokusebenzisa i-pwrstatd daemon nemisebenzi yayo ichazwe ngezansi:

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

Ukucushwa Files we-Daemon
Ukucushwa files nemisebenzi yazo ichazwe ngezansi:

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

Inothi 5
pwrstatd.conf ingahlelwa ngokusebenzisa noma yimuphi umhleli wombhalo. Ukuze uqale ukuhlela ukucushwa file, type the following command as root:  vi/etc/pwrstatd.conf *

Take the text editor, vi, for example.
Izinguquko ezihlelwe kusihleli sombhalo zizoqala ukusebenza ngemva kokuqalisa kabusha i-pwrstatd. Ukuze uqale kabusha i-daemon, thayipha umyalo olandelayo: /etc/init.d/pwrstatd restart

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

Izingodo Zomcimbi we-Daemon
The event logs of the pwrstatd daemon are located in the directory: /var/log. The file okuthiwa pwrstatd.log irekhoda yonke imicimbi yamandla.

Ihlola Izilungiselelo ze-Daemon

Type the following command to show the configuration of pwrstat:

Ngezansi i-example for daemon configuration:

CyberPower-Personal-Linux-Software-FIG10

Isenzo Sokuhluleka Kwamandla:CyberPower-Personal-Linux-Software-FIG11

Isenzo Sebhethri Eliphansi:

CyberPower-Personal-Linux-Software-FIG11

Ukuqapha Isimo se-UPS

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

pwrstat -status
Ngezansi i-example yemodeli ye-UPS, CP585:

CyberPower-Personal-Linux-Software-FIG11

Inothi 7
Ezinye zezinto ezisohlwini olungenhla zizoboniswa kuphela uma imodeli ye-UPS isekela imisebenzi ehlobene.

CYBERPOWER POWERPANEL
Sicela uvakashele https://www.cyberpower.com/content/software/eula/ukuze ubone imigomo ye-EULA ephelele.

Amadokhumenti / Izinsiza

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

Buza Umbuzo

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

Buza Umbuzo

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