| 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 : |
Ñò
ç4Kc @ s d e f d „ ƒ YZ d S( t dstat_pluginc B s e Z d Z d „ Z d „ Z RS( sM
Example "Hello world!" output plugin for aspiring Dstat developers.
c C s: d | _ d | _ d | _ d | _ d | _ d | _ d S( Nt si i s plugin titlet countert text( R ( s text( t typet widtht scalet namet nickt vars( t self( ( s$ /usr/share/dstat/dstat_helloworld.pyt __init__ s c C s d | i d <d S( Ns Hello world!R ( t val( R
( ( s$ /usr/share/dstat/dstat_helloworld.pyt extract s ( t __name__t
__module__t __doc__R R
( ( ( s$ /usr/share/dstat/dstat_helloworld.pyR s N( t dstatR ( ( ( s$ /usr/share/dstat/dstat_helloworld.pyt <module> s