????
Current Path : /proc/self/root/lib/python3.6/site-packages/glances/plugins/__pycache__/ |
Current File : //proc/self/root/lib/python3.6/site-packages/glances/plugins/__pycache__/glances_mem.cpython-36.pyc |
3 Eo�c�+ � @ s� d Z ddlmZ ddlmZ ddlZdddd�d ddd�d dd�d ddd�dddd�dddd�ddddd�ddddd�dddd�dddd�dddd�d�Zdddddd�dd d!d"d#�dd d!d"d#�d$�Zdd%d&d'�gZG d(d)� d)e�Z dS )*zVirtual memory plugin.� )�iterkeys)� GlancesPluginNz Total physical memory available.�bytes�K)�description�unit� min_symbolaC The actual amount of available memory that can be given instantly to processes that request more memory in bytes; this is calculated by summing different memory values depending on the platform (e.g. free + buffers + cached on Linux) and it is supposed to be used to monitor actual memory usage in a cross platform fashion.zEThe percentage usage calculated as (total - available) / total * 100.�percent)r r zkMemory used, calculated differently depending on the platform and designed for informational purposes only.z�Memory not being used at all (zeroed) that is readily available; note that this doesn't reflect the actual memory available (use 'available' instead).zM*(UNIX)*: memory currently in use or very recently used, and so it is in RAM.z,*(UNIX)*: memory that is marked as not used.Zinacti)r r r Z short_namez;*(Linux, BSD)*: cache for things like file system metadata.�bufferz)*(Linux, BSD)*: cache for various things.zW*(BSD, macOS)*: memory that is marked to always stay in RAM. It is never moved to disk.zJ*(BSD)*: memory that may be simultaneously accessed by multiple processes.)�total� availabler �used�free�active�inactive�buffers�cached�wired�sharedz1.3.6.1.4.1.2021.4.5.0z1.3.6.1.4.1.2021.4.11.0z1.3.6.1.4.1.2021.4.13.0z1.3.6.1.4.1.2021.4.14.0z1.3.6.1.4.1.2021.4.15.0)r r r r r z1.3.6.1.2.1.25.2.3.1.3z1.3.6.1.2.1.25.2.3.1.4z1.3.6.1.2.1.25.2.3.1.5z1.3.6.1.2.1.25.2.3.1.6)Z mnt_point� alloc_unit�sizer )�default�windows�esxizRAM memory usage�%)�namer Zy_unitc sL e Zd ZdZd� fdd� Zejejdd� ��Z� fdd�Z dd d �Z � ZS ) �Pluginz1Glances' memory plugin. stats is a dict Nc s"