| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/dstat/ |
Upload File : |
Ñò
×
Kc @ s d e f d „ ƒ YZ d S( t dstat_pluginc B s) e Z d Z d „ Z d „ Z d „ Z RS( sà
Power usage information from ACPI.
Displays the power usage in mwh of your system's battery using ACPI
information. This information is only available when the battery is
being used (or being charged).
c C s d | _ d | _ d | _ d | _ d | _ d | _ d | _ g | _ xs t i d ƒ D]b } xY t
d | d ƒ i ƒ D]= } | i ƒ } t
| ƒ d
j o qy n | i i | ƒ Pqy WqX Wd S(
Nt powert fi i t ratet usagei s /proc/acpi/battery/s /statei ( s rate( R ( t namet typet widtht scalet varst nickR t batteriest ost listdirt dopent readlinest splitt lent append( t selft batteryt linet l( ( s /usr/share/dstat/dstat_power.pyt __init__ s"