Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
usr
/
local
/
lib
/
python3.6
/
site-packages
/
nixstatsagent
/
plugins
/
__pycache__
✏️
Editing: redis_stat.cpython-36.pyc
3 ��`� � @ sZ d dl Z d dlZdddddddd d ddd ddd�ZG dd� de j�ZedkrVe� j� dS )� NZuptimezconnected clientszused memoryzused memory peak human� maxmemoryzmaxmemory policyztotal commands processedztotal net input bytesztotal net output byteszexpired keyszevicted keysz keyspace hitszkeyspace misseszcluster enabled)Zuptime_in_secondsZconnected_clientsZused_memoryZused_memory_peak_humanr Zmaxmemory_policyZtotal_commands_processedZtotal_net_input_bytesZtotal_net_output_bytesZexpired_keysZevicted_keysZ keyspace_hitsZkeyspace_missesZcluster_enabledc @ s e Zd ZdZ dd� ZdS )�PluginZ redis_statc + C s i }d }y|j td�}W n d}Y nX y|j td�}W n d}Y nX y|j td�}W n d}Y nX y|j td�}W n d}Y nX ytj||||d �}|j� }W n: tk r� } zd |d<