CyberPower Personal Linux Software User Guide

CyberPower Personal Linux Software User Guide

CyberPower-โลโก้

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 ฟังก์ชัน และตัวอย่างampมีคำอธิบายไว้ด้านล่าง:

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

อดีต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%.
  • Exampขั้นตอนที่ 3a: กำหนดค่าการเชื่อมต่อกับ PowerPanel Cloud
    pwrstat -cloud -ใช้งานบน -บัญชี example@cyberpower.com -รหัสผ่าน 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

pwrstat - ตรวจสอบ

หากต้องการตรวจสอบว่าบัญชีและรหัสผ่านถูกต้องหรือไม่ ให้ป้อนคำสั่งด้านบน

มีสามผลลัพธ์ที่อธิบายไว้ด้านล่าง:

  1. เมื่อทั้งบัญชีและรหัสผ่านถูกต้อง ระบบจะแสดง Verify สำเร็จ
  2. เมื่อบัญชีหรือรหัสผ่านไม่ถูกต้อง ระบบจะแสดงการยืนยันล้มเหลว
  3. When a network issue exists, the system will show Connect failed

หน้าภูต

ชื่อ
pwrstatd daemon สถานะพลังงานของ 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 daemon และฟังก์ชันของคำสั่งมีอธิบายไว้ด้านล่าง:

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

การกำหนดค่า Files ของ Daemon
การกำหนดค่า 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 เมื่อต้องการรีสตาร์ท daemon ให้พิมพ์คำสั่งต่อไปนี้: /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 บันทึกเหตุการณ์พลังงานทั้งหมด

ตรวจสอบการตั้งค่า 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
ด้านล่างนี้เป็นตัวอย่างampไฟล์สำหรับ UPS รุ่น CP585:

CyberPower-Personal-Linux-Software-FIG11

หมายเหตุ 7
บางรายการด้านบนจะแสดงเฉพาะเมื่อรุ่นของ UPS รองรับฟังก์ชันที่เกี่ยวข้องเท่านั้น

CYBERPOWER POWERPANEL
กรุณาเข้าเยี่ยมชม https://www.cyberpower.com/content/software/eula/เพื่อดูข้อกำหนด EULA ฉบับเต็ม

เอกสาร / แหล่งข้อมูล

ภาพย่อของไฟล์ PDFPersonal 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.