HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/perccli.cpython-36.opt-1.pyc
3

-�_gA�@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�}x4|D],}|j|�d|�|��d|�|��|d�q>Wd}|j|�d|�d|��d|�|��|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
perccli64_)Zsuggest_filenameZrunatz/call show eventsz file=/dev/stdout)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