CyberPower Personal Linux Software User Guide

CyberPower Personal Linux Software User Guide

CyberPower-LOGO

CyberPower Personal Linux Software

CyberPower-Personal-Linux-Software-PRODUCT

Ngamimitian

Ngaran
pwrstat Alat paréntah kaayaan kakuatan UPS.

Sinopsis

CyberPower-Personal-Linux-Software-FEATURED

Katerangan
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

Pilihan
Parameter pwrstat, fungsina, sareng examples digambarkeun di handap:

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

Catetan 1
Argumen di handap ieu kedah nuturkeun -pwrfail.

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

Catetan 2
Argumen handap kudu nuturkeun -lowbatt.

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

Catetan 3
Argumen di handap ieu kedah nuturkeun -cloud.

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

Catetan 4

  1. Parameter -pwrfail sareng -lowbatt kedah diatur sacara mandiri.
  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

Examples pikeun Konfigurasi pwrstat Options

  • 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: Konpigurasikeun sambungan kana PowerPanel Cloud.
    pwrstat -cloud -aktip dina -akun example@cyberpower.com -sandi 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: Pariksa sambungan kana PowerPanel Cloud.

pwrstat -verifikasi

Pikeun pariksa naha akun sareng kecap aksesna leres, lebetkeun paréntah di luhur.

Aya tilu hasil, dijelaskeun di handap:

  1. Nalika duanana akun sareng kecap akses leres, sistem bakal nunjukkeun Verify suksés.
  2. Nalika akun atanapi kecap akses salah, sistem bakal nunjukkeun yén Verifikasi gagal.
  3. When a network issue exists, the system will show Connect failed

The Daemon Page

Ngaran
pwrstatd Daemon kaayaan kakuatan UPS.

Katerangan
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

Operasi tina Daemon
Paréntah pikeun ngoperasikeun daemon pwrstatd sareng fungsina dijelaskeun di handap ieu:

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

Konfigurasi Files tina Daemon
Konfigurasi files sareng fungsina dijelaskeun di handap:

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

Catetan 5
pwrstatd.conf tiasa diédit nganggo pangropéa téksu mana waé. Pikeun ngamimitian ngédit konfigurasi file, type the following command as root:  vi/etc/pwrstatd.conf *

Take the text editor, vi, for example.
Parobihan anu diédit dina pangropéa téksu bakal dianggo saatos ngamimitian deui pwrstatd. Pikeun ngabalikan deui daemon, ketik paréntah di handap ieu: /etc/init.d/pwrstatd restart

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

Log Acara tina Daemon
The event logs of the pwrstatd daemon are located in the directory: /var/log. The file ngaranna pwrstatd.log rékaman sagala acara kakuatan.

Mariksa Setélan Daemon

Type the following command to show the configuration of pwrstat:

Di handap ieu example for daemon configuration:

CyberPower-Personal-Linux-Software-FIG10

Tindakan pikeun Kagagalan Daya:CyberPower-Personal-Linux-Software-FIG11

Aksi pikeun Batré Lemah:

CyberPower-Personal-Linux-Software-FIG11

Ngawas Status UPS

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

pwrstat -status
Di handap ieu urutample pikeun modél UPS, CP585:

CyberPower-Personal-Linux-Software-FIG11

Catetan 7
Sababaraha item nu didaptarkeun di luhur ngan bakal dipintonkeun lamun model UPS ngarojong fungsi nu patali.

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

Dokumén / Sumberdaya

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

Tanya patarosan

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

Tanya patarosan

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