CyberPower Personal Linux Software User Guide

CyberPower Personal Linux Software User Guide

CyberPower-LOGO

CyberPower Personal Linux Software

CyberPower-Personal-Linux-Software-PRODUCT

Баштоо

аты
pwrstat UPS кубат абалынын буйрук куралы.

Конспект

CyberPower-Personal-Linux-Software-FEATURED

Description
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

Параметрлер
pwrstat параметрлери, алардын функциялары жана эксamples төмөндө сүрөттөлгөн:

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

Эскертүү 1
Төмөнкү аргументтер -pwrfail артынан чыгышы керек.

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

Эскертүү 2
Төмөнкү аргументтер төмөнкүдөй болушу керек -lowbatt.

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

Эскертүү 3
Төмөнкү аргументтер -cloud артынан болушу керек.

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

Эскертүү 4

  1. -pwrfail жана -lowbatt параметрлерин өз алдынча орнотуу керек.
  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

Эксamppwrstat параметрлерин конфигурациялоо үчүн

  • 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: PowerPanel Cloud менен байланышты конфигурациялаңыз.
    pwrstat -булут -эсепте активдүү example@cyberpower.com -пароль пароль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.
  • Example 3b: PowerPanel Cloud менен байланышты текшериңиз.

pwrstat - текшерүү

Каттоо эсеби жана сырсөз туура экендигин текшерүү үчүн жогорудагы буйрукту киргизиңиз.

Төмөндө сүрөттөлгөн үч натыйжа бар:

  1. Каттоо эсеби жана сырсөз туура болгондо, система Текшерүүнү ийгиликтүү көрсөтөт.
  2. Каттоо эсеби же сырсөз туура эмес болгондо, система Текшерүү ишке ашкан жок дегенди көрсөтөт.
  3. When a network issue exists, the system will show Connect failed

The Daemon Page

аты
pwrstatd UPS кубаттуулугунун демону.

Description
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

Демондун операциялары
pwrstatd демонун иштетүү үчүн буйруктар жана алардын функциялары төмөндө сүрөттөлгөн:

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

Конфигурация FileДемондун с
конфигурация fileс жана алардын функциялары төмөндө сүрөттөлгөн:

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

Эскертүү 5
pwrstatd.conf каалаган текст редакторунун жардамы менен түзөтсө болот. Конфигурацияны түзөтүп баштоо үчүн file, type the following command as root:  vi/etc/pwrstatd.conf *

Take the text editor, vi, for example.
Текст редакторунда түзөтүлгөн өзгөртүүлөр pwrstatd кайра иштетилгенден кийин күчүнө кирет. Демонду кайра иштетүү үчүн, төмөнкү буйрукту териңиз: /etc/init.d/pwrstatd restart

Эскертүү 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.

Демондун окуялар журналдары
The event logs of the pwrstatd daemon are located in the directory: /var/log. The file аттуу pwrstatd.log бардык күч окуяларын жазат.

Daemon орнотуулары текшерилүүдө

Type the following command to show the configuration of pwrstat:

Төмөндө мурункуample for daemon configuration:

CyberPower-Personal-Linux-Software-FIG10

Электр кубаты үзгүлтүккө учурашы үчүн чара:CyberPower-Personal-Linux-Software-FIG11

Батареянын азайышы үчүн аракет:

CyberPower-Personal-Linux-Software-FIG11

UPS абалына мониторинг жүргүзүү

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

pwrstat -status
Төмөндө мурункуampUPS модели үчүн, CP585:

CyberPower-Personal-Linux-Software-FIG11

Эскертүү 7
Жогоруда саналган элементтердин айрымдары UPS модели тиешелүү функцияларды колдогондо гана көрсөтүлөт.

CYBERPOWER POWERPANEL
Сураныч, келиңиз https://www.cyberpower.com/content/software/eula/to see the complete EULA terms.

Документтер / Ресурстар

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

Суроо бериңиз

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

Суроо бериңиз

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