| 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 : |
Ņō ĢFKc @ s d e f d YZ d S( t dstat_pluginc B s, e Z d Z d Z d Z d Z RS( c C sX d | _ d | _ d | _ d | _ d | _ t t i | _ h | _ h | _ d S( Ns most expensivet si i s i/o process( s i/o process( t namet typet widtht scalet varst strt ost getpidt pidt pidset1t pidset2( t self( ( s /usr/share/dstat/dstat_top_io.pyt __init__ s c C s' t i d t i p t d n d S( Ns /proc/self/ios1 Kernel has no I/O accounting, use at least 2.6.20( R t accesst R_OKt Exception( R ( ( s /usr/share/dstat/dstat_top_io.pyt check s c C sū d | i d <d | i d <xt i d D]} yt | | | i j o w* n | i i | p h d d 6d d 6| i | <n | i i | p h d d 6d d 6| i | <n t d | i i d d d !} xc t d | i D]K } | i } t | d j o qö n t | d | i | | d <qö WWn+ t j o q* n t j o q* n X| i | d | i | d d t } | i | d | i | d d t } | | } | | i d j oN | | i d <| | i d <| | i d <| | i d <t | | | i d <q* q* Wt t i j o9 x6 | i i D]! } | i | i | i | qTWn | i d d j oi d | i d | i d d | i d !t | i d d d d t | i d d d d f | i d <n d S( Ng t usaget s i/o processs /proc/i s rchar:s wchar:s /proc/%s/stati i˙˙˙˙s /proc/%s/ioi g đ?t read_usaget write_usageR R s %-*s%s %si t di i ( t valR t listdirt intR R t has_keyR t opent readt splitt readlinest lent ValueErrort IOErrort elapsedt getnamebypidt stept opt delayt keyst updateR t cprint( R R R t linet lR R R ( ( s /usr/share/dstat/dstat_top_io.pyt extract sL ' '(( #c C s&