§
    uÒ>]·  ã                   ó"   —  G d „ de ¦  «        ZdS )c                   ó$   — e Zd ZdZd„ Zd„ Zd„ ZdS )Údstat_plugina  
    Most expensive CPU process.

    Displays the process that uses the CPU the most during the monitored
    interval. The value displayed is the percentage of CPU time for the total
    amount of CPU processing power. Based on per process CPU information.
    c                 óL   — d| _         d| _        d| _        d| _        d| _        d S )Nzmost expensive)zmemory processÚsé   é    )ÚnameÚvarsÚtypeÚwidthÚscale©Úselfs    ú!/usr/share/dstat/dstat_top_mem.pyÚ__init__zdstat_plugin.__init__   s)   € Ø$ˆŒ	Ø'ˆŒ	ØˆŒ	ØˆŒ
ØˆŒ
ˆ
ˆ
ó    c           	      ó  — d| j         d<   t          ¦   «         D ]£}	 t          d|z  ¦  «        }n# t          $ r Y Œ"w xY wt	          |¦  «        dk     rŒ:t          |d         ¦  «        t          z  }|| j         d         k    rŒi|| j         d<   t          ||d         dd…         ¦  «        | j         d<   || j         d<   Œ¤d	| j        d
z
  | j         d         d| j        d
z
  …         t          | j         d         dd
d¦  «        fz  | _
        d S )Ng        Úmaxz/proc/%s/staté   é   éÿÿÿÿr   Úpidz%-*s%sé   r   Úfi   )ÚvalÚproc_pidlistÚproc_splitlineÚIOErrorÚlenÚintÚpagesizeÚgetnamebypidr   ÚcprintÚoutput)r   r   ÚlÚusages       r   Úextractzdstat_plugin.extract   s  € ØˆŒ�‰Ý‘>”>ð 	"ð 	"ˆCðå" ?°SÑ#8Ñ9Ô9��øÝð ð ð Ø�ðøøøõ �1‰vŒv˜Š{ˆ{˜HÝ˜˜"œ‘J”J¥Ñ)ˆEð ˜œ œÒ'Ð'¨à#ˆDŒH�U‰OÝ+¨C°°1´°a¸°d´Ñ<Ô<ˆDŒH�VÑØ!ˆDŒH�U‰OˆOà $¤*¨Q¡,°´¸Ô0@ÀÀ4Ä:ÈaÁ<ÀÔ0PÕRXÐY]ÔYaÐbgÔYhÐjmÐopÐrvÑRwÔRwÐ!xÑxˆŒˆˆs   œ/¯
<»<c                 ó<   — d| j         d         | j         d         fz  S )Nz	%s / %d%%r   r   )r   r   s    r   Úshowcsvzdstat_plugin.showcsv*   s   € Ø˜dœh vÔ.°´¸´Ð@Ñ@Ð@r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r&   r(   © r   r   r   r      sS   € € € € € ðð ðð ð ðyð yð yð0Að Að Að Að Ar   r   N)Údstatr   r-   r   r   ú<module>r/      sC   ðð(Að (Að (Að (Að (A�5ñ (Aô (Að (Að (Að (Ar   