HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/perccli.cpython-38.pyc
U

i��d]�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@s4eZdZdZdZdZdZedddd�gZd	d
�Z	dS)�PercCLIz$PowerEdge RAID Controller management�perccli)�systemZstorageZhardware)r�jsonFzcollect data in JSON format)�defaultZdesccCs�d}dddddddd	d
ddg}|�d
�r,dnd}|��}|D]&}|jd|||fd||f|d�q<d}|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 allrz 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�cmdZsubcmdsrZlogpathZsubcmd�r
�</usr/lib/python3/dist-packages/sos/report/plugins/perccli.py�setups6�
�
�z
PercCLI.setupN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrZoption_listrr
r
r
rrs�rN)Zsos.report.pluginsrrrrr
r
r
r�<module>	s