Current File : //usr/share/dstat/dstat_dstat_mem.pyo |
�
)�Lc @ s d e f d � � YZ d S( t dstat_pluginc B s e Z d Z d � Z d � Z RS( sP
Provide memory information related to the dstat process.
The various values provide information about the memory usage of the
dstat process. This plugin gives you the possibility to follow memory
usage changes of dstat over time. It may help to vizualise the
performance of Dstat and its selection of plugins.
c C s0 d | _ d | _ d | _ | j d t � d S( Ns dstat memory usaget virtualt residentt sharedt datat ds /proc/%s/statm( R R R s data( t namet varst typet opent ownpid( t self( ( s# /usr/share/dstat/dstat_dstat_mem.pyt __init__ s c C s� | j � } t | d � t d | j d <t | d � t d | j d <t | d � t d | j d <t | d � t d | j d <d S(
Ni i R i R i R i R ( t splitlinet longt pagesizet val( R t l( ( s# /usr/share/dstat/dstat_dstat_mem.pyt extract s
( t __name__t
__module__t __doc__R R ( ( ( s# /usr/share/dstat/dstat_dstat_mem.pyR s N( t dstatR ( ( ( s# /usr/share/dstat/dstat_dstat_mem.pyt <module> s