File: //usr/lib/python3.6/site-packages/glances/plugins/__pycache__/glances_processcount.cpython-36.pyc
3
Eo�c� � @ s` d Z ddlmZmZ ddlmZ dddd�dd dd�d
ddd�dd
dd�gZG dd� de�ZdS )zProcess count plugin.� )�glances_processes�sort_for_human)�
GlancesPlugin�totalzTotal number of processes� )�name�descriptionZy_unit�runningz!Total number of running processes�sleepingz"Total number of sleeping processes�threadzTotal number of threadsc sP e Zd ZdZd
� fdd� Zdd� Zdd� Zejej d d
� ��Z
ddd�Z� ZS )�Pluginz7Glances process count plugin.
stats is a list
Nc s t t| �j||td� d| _dS )zInit the plugin.)�args�config�items_history_listTN)�superr �__init__r Z
display_curse)�selfr
r )� __class__� �*/usr/lib/python3.6/glances_processcount.pyr s zPlugin.__init__c C s t j� dS )zEnable extended stats.N)r �enable_extended)r r r r r '