CyberPower Personal Linux Software User Guide

CyberPower-LOGO

CyberPower Personal Linux Software

CyberPower-Personal-Linux-Software-PRODUCT

Cychwyn Arni

Enw
pwrstat Offeryn gorchymyn cyflwr pŵer UPS.

Crynodeb

CyberPower-Personal-Linux-Software-FEATURED

Disgrifiad
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

Opsiynau
Mae paramedrau pwrstat, eu swyddogaethau, a'r exampdisgrifir les isod:

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

Nodyn 1
Dylai'r dadleuon canlynol ddilyn -pwrfail.

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

Nodyn 2
Dylai'r dadleuon canlynol ddilyn -lowbatt.

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

Nodyn 3
Dylai'r dadleuon canlynol ddilyn -cloud.

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

Nodyn 4

  1. Mae angen gosod paramedrau -pwrfail a -lowbatt yn annibynnol.
  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

Yr Examples ar gyfer Ffurfweddu Dewisiadau 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: Ffurfweddu'r cysylltiad â PowerPanel Cloud.
    pwrstat -cloud -active on -count example@cyberpower.com -password pas123
    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: Gwiriwch y cysylltiad â PowerPanel Cloud.

pwrstat -gwirio

I wirio a yw'r cyfrif a'r cyfrinair yn gywir, rhowch y gorchymyn uchod.

Mae tri chanlyniad, a ddisgrifir isod:

  1. Pan fydd y cyfrif a'r cyfrinair yn gywir, bydd y system yn dangos Verify yn llwyddiannus.
  2. Pan fydd naill ai'r cyfrif neu'r cyfrinair yn anghywir, bydd y system yn dangos Verify wedi methu.
  3. When a network issue exists, the system will show Connect failed

Tudalen yr Ellyll

Enw
pwrstatd Yr ellyll cyflwr pŵer UPS.

Disgrifiad
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

Gweithrediadau yr Ellyll
Disgrifir y gorchmynion ar gyfer gweithredu'r daemon pwrstatd a'u swyddogaethau isod:

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

Cyfluniad Files yr Ellyll
Y cyfluniad files a'u swyddogaethau yn cael eu disgrifio isod:

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

Nodyn 5
Gellir golygu pwrstatd.conf trwy ddefnyddio unrhyw olygydd testun. I ddechrau golygu'r ffurfweddiad file, type the following command as root:  vi/etc/pwrstatd.conf *

Take the text editor, vi, for example.
Bydd y newidiadau a olygir yn y golygydd testun yn dod i rym ar ôl ailgychwyn pwrstatd. I ailgychwyn yr daemon, teipiwch y gorchymyn canlynol: /etc/init.d/pwrstatd restart

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

Logiau Digwyddiadau'r Daemon
The event logs of the pwrstatd daemon are located in the directory: /var/log. The file a enwir pwrstatd.log yn cofnodi'r holl ddigwyddiadau pŵer.

Gwirio Gosodiadau Daemon

Type the following command to show the configuration of pwrstat:

Isod mae'r cynample for daemon configuration:

CyberPower-Personal-Linux-Software-FIG10

Gweithredu ar gyfer Methiant Pŵer:CyberPower-Personal-Linux-Software-FIG11

Gweithredu ar gyfer Batri Isel:

CyberPower-Personal-Linux-Software-FIG11

Monitro Statws UPS

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

pwrstat -status
Isod mae cynampar gyfer y model UPS, CP585:

CyberPower-Personal-Linux-Software-FIG11

Nodyn 7
Dim ond pan fydd y model UPS yn cefnogi'r swyddogaethau cysylltiedig y bydd rhai o'r eitemau a restrir uchod yn cael eu harddangos.

CYBERPOWER POWERPANEL
Ymwelwch https://www.cyberpower.com/content/software/eula/to see the complete EULA terms.

Dogfennau / Adnoddau

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

Gofyn Cwestiwn

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

Gofyn Cwestiwn

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