CyberPower Personal Linux Software User Guide

CyberPower Personal Linux Software User Guide

ЦиберПовер-ЛОГО

CyberPower Personal Linux Software

CyberPower-Personal-Linux-Software-PRODUCT

Геттинг Стартед

Име
пврстат Командни алат за стање напајања УПС-а.

Синопсис

CyberPower-Personal-Linux-Software-FEATURED

Опис
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

Опције
Параметри пврстат, њихове функције и прampлесови су описани у наставку:

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

Напомена 1
Следећи аргументи треба да следе -пврфаил.

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

Напомена 2
Следећи аргументи би требало да следе -ловбатт.

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

Напомена 3
Следећи аргументи би требало да следе -цлоуд.

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

Напомена 4

  1. Параметри -пврфаил и -ловбатт морају да се подесе независно.
  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

Тхе Екampлес за конфигурисање пврстат опција

  • 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%.
  • Exampле 3а: Конфигуришите везу са ПоверПанел Цлоуд-ом.
    пврстат -цлоуд -активан на -налогу exampле@циберповер.цом -пассворд пасс123
    Assuming PowerPanel Cloud account/password: exampле@циберповер.цом / pass123. In the setting above, the connection to PowerPanel Cloud will be activated when users correctly enter their PowerPanel Cloud account and password.
  • Exampле 3б: Проверите везу са ПоверПанел Цлоуд-ом.

пврстат -верифи

Да бисте проверили да ли су налог и лозинка исправни, унесите горњу команду.

Постоје три резултата, описана у наставку:

  1. Када су и налог и лозинка исправни, систем ће приказати Верифи успешно.
  2. Када су налог или лозинка нетачни, систем ће приказати Верифи фаилед.
  3. When a network issue exists, the system will show Connect failed

Страница Даемон

Име
пврстатд Демон стања напајања УПС-а.

Опис
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

Операције Демона
Команде за рад са демоном пврстатд и њихове функције су описане у наставку:

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

Конфигурација Fileс Демона
Конфигурација fileс и њихове функције су описане у наставку:

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

Напомена 5
пврстатд.цонф се може уређивати коришћењем било ког уређивача текста. Да бисте започели уређивање конфигурације file, type the following command as root:  vi/etc/pwrstatd.conf *

Take the text editor, vi, for exampле.
Промене уређене у уређивачу текста ће ступити на снагу након поновног покретања пврстатд-а. Да бисте поново покренули демон, откуцајте следећу команду: /етц/инит.д/пврстатд рестарт

Напомена 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 под називом пврстатд.лог бележи све догађаје напајања.

Провера подешавања демона

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

Надгледање статуса УПС-а

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

pwrstat -status
Испод је бившиampле за УПС модел, ЦП585:

CyberPower-Personal-Linux-Software-FIG11

Напомена 7
Неке од горе наведених ставки ће бити приказане само када УПС модел подржава повезане функције.

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.