CyberPower Personal Linux Software User Guide

CyberPower Personal Linux Software User Guide

شعار القوة السيبرانية

CyberPower Personal Linux Software

CyberPower-Personal-Linux-Software-PRODUCT

ابدء

اسم
pwrstat أداة أمر حالة طاقة UPS.

ملخص

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

خيارات
المعلمات pwrstat ، وظائفها ، و exampليه موصوفة أدناه:

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
يجب أن تتبع الحجج التالية - كلاود.

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

السابقampليه لتكوين خيارات 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: تكوين الاتصال بـ PowerPanel Cloud.
    pwrstat -cloud-active on-account 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

صفحة الشيطان

اسم
pwrstatd البرنامج الخفي لحالة طاقة UPS.

وصف
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)

إعدادات Files من الشيطان
التكوين files ووظائفها موصوفة أدناه:

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 exampليه.
ستصبح التغييرات التي تم تحريرها في محرر النصوص نافذة المفعول بعد إعادة تشغيل 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.

سجلات الأحداث من برنامج Daemon
The event logs of the pwrstatd daemon are located in the directory: /var/log. The file المسمى pwrstatd.log يسجل جميع أحداث الطاقة.

التحقق من إعدادات البرنامج الخفي

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
فيما يلي مثالample لنموذج UPS ، CP585:

CyberPower-Personal-Linux-Software-FIG11

ملاحظة 7
سيتم عرض بعض العناصر المذكورة أعلاه فقط عندما يدعم طراز UPS الوظائف ذات الصلة.

CYBERPOWER POWERPANEL
يرجى الزيارة https://www.cyberpower.com/content/software/eula/للاطلاع على بنود اتفاقية ترخيص المستخدم النهائي كاملةً.

المستندات / الموارد

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.