Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/report/plugins/__pycache__/perccli.cpython-36.opt-1.pyc

3

�f]�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@s4eZdZdZdZd
ZdZedddd	�gZd
d�Z	dS)�PercCLIz$PowerEdge RAID Controller management�perccli�system�storage�hardware�jsonFzcollect data in JSON format)�defaultZdesccCs�d}dddddddd	d
ddg}|jd
�r,dnd}|j�}x.|D]&}|jd|||fd||f|d�q>Wd}|jd|||fd||f|d�dS)Nz/opt/MegaRAID/perccli/perccli64zshow ctrlcountz/call show AliLogz/call show allz/call show termlogz/call/bbu show allz/call/cv show allz/call/dall showz/call/eall show allz/call/eall/sall show allz/call/sall show allz/call/vall show allr
z J�z%s %s%szperccli64_%s%s)Zsuggest_filenameZrunatz/call show eventsz%s %s file=/dev/stdout%s)Z
get_optionZget_cmd_output_pathZadd_cmd_output)�self�cmdZsubcmdsr
ZlogpathZsubcmd�r�/usr/lib/python3.6/perccli.py�setups0


z
PercCLI.setupN)rrr	)r)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrZoption_listrrrrrrsrN)Zsos.report.pluginsrrrrrrrr�<module>	s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists