CyberPower Personal Linux Software User Guide

CyberPower Personal Linux Software User Guide

CyberPower-LOGO

CyberPower Personal Linux Software

CyberPower-Personal-Linux-Software-PRODUCT

Başlarken

İsim
pwrstat UPS güç durumu komut aracı.

Özet

CyberPower-Personal-Linux-Software-FEATURED

Tanım
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

Seçenekler
pwrstat parametreleri, işlevleri ve eskiampler aşağıda açıklanmıştır:

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

Not 1
Aşağıdaki bağımsız değişkenler -pwrfail'i izlemelidir.

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

Not 2
Aşağıdaki bağımsız değişkenler -lowbatt'ı izlemelidir.

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

Not 3
Aşağıdaki bağımsız değişkenler -cloud'u izlemelidir.

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

Not 4

  1. -pwrfail ve -lowbatt parametrelerinin bağımsız olarak ayarlanması gerekir.
  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

Eski sevgiliamppwrstat Seçeneklerini Yapılandırma dosyaları

  • 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: PowerPanel Cloud bağlantısını yapılandırın.
    pwrstat -bulut -hesapta etkin example@cyberpower.com -şifre pass123
    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 bağlantısını doğrulayın.

pwrstat -doğrula

Hesabın ve parolanın doğru olup olmadığını doğrulamak için yukarıdaki komutu girin.

Aşağıda açıklanan üç sonuç vardır:

  1. Hem hesap hem de parola doğru olduğunda, sistem Doğrula başarılı olarak gösterecektir.
  2. Hesap veya parola yanlış olduğunda, sistem Doğrulamanın başarısız olduğunu gösterecektir.
  3. When a network issue exists, the system will show Connect failed

Daemon Sayfası

İsim
pwrstatd UPS güç durumu arka plan programı.

Tanım
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

Daemon'un İşlemleri
pwrstatd arka plan programını çalıştırma komutları ve işlevleri aşağıda açıklanmıştır:

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

Yapılandırma FileDaemon'un s
Yapılandırma fileler ve işlevleri aşağıda açıklanmıştır:

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

Not 5
pwrstatd.conf, herhangi bir metin düzenleyici kullanılarak düzenlenebilir. Yapılandırmayı düzenlemeye başlamak için file, type the following command as root:  vi/etc/pwrstatd.conf *

Take the text editor, vi, for exampley.
Metin düzenleyicide düzenlenen değişiklikler pwrstatd yeniden başlatıldıktan sonra etkili olacaktır. Daemon'u yeniden başlatmak için şu komutu yazın: /etc/init.d/pwrstatd restart

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

Daemon'un Olay Günlükleri
The event logs of the pwrstatd daemon are located in the directory: /var/log. The file pwrstatd.log adlı, tüm güç olaylarını kaydeder.

Daemon Ayarlarını Kontrol Etme

Type the following command to show the configuration of pwrstat:

Aşağıda eskiample for daemon configuration:

CyberPower-Personal-Linux-Software-FIG10

Güç Kesintisi için Eylem:CyberPower-Personal-Linux-Software-FIG11

Düşük Pil için Eylem:

CyberPower-Personal-Linux-Software-FIG11

UPS Durumunu İzleme

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

pwrstat -status
Aşağıda bir eskiampUPS modeli CP585 için dosya:

CyberPower-Personal-Linux-Software-FIG11

Not 7
Yukarıda listelenen öğelerden bazıları, yalnızca UPS modeli ilgili işlevleri desteklediğinde görüntülenecektir.

CYBERPOWER POWERPANEL
Lütfen ziyaret edin https://www.cyberpower.com/content/software/eula/EULA'nın tüm şartlarını görmek için.

Belgeler / Kaynaklar

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

Bir Soru Sorun

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

Bir Soru Sorun

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