| 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 : |
Ņō t Kc @ s d e f d YZ d S( t dstat_pluginc B s e Z d Z d Z RS( c C sL d | _ d | _ d | _ d | _ t i i d oŽ d d d d d d d d g | _ g | _ xo t d D]a } | i } xL t | i D]; \ } } t | | d d j o | i i | q q Wqn W| i | _ nf t i i d oI t i d | _ g | _ x4 | i D] } | i i | i qWn t d d S( Nt thermalt di i s /proc/acpi/ibm/thermalt cput pcit hddt ba0t unkt ba1i i s /proc/acpi/thermal_zone/s% Needs kernel ACPI or IBM-ACPI support( t namet typet widtht scalet ost patht existst namelistt nickt dopent splitt enumeratet intt appendt varst listdirt lowert Exception( t selft linet lt iR ( ( s! /usr/share/dstat/dstat_thermal.pyt __init__ s, ! c C s t i i d o xņ t d D]l } | i } xW t | i D]F \ } } t | | d d j o t | | d | i | <qB qB Wq Wnt t i i d o` x] | i D]N } xE t d | d i D]) } | i } t | d | i | <qŌ Wqą Wn d S( Ns /proc/acpi/ibm/thermali i s /proc/acpi/thermal_zone/s /temperature( R R R R R R R R t valR t readlines( R R R R R t zone( ( s! /usr/share/dstat/dstat_thermal.pyt extract s + ( t __name__t __module__R R# ( ( ( s! /usr/share/dstat/dstat_thermal.pyR s N( t dstatR ( ( ( s! /usr/share/dstat/dstat_thermal.pyt <module> s