File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/perccli.cpython-39.pyc
a
^��c] � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin� PluginOptc @ s4 e Zd ZdZdZdZdZedddd�gZd d
� Z dS )�PercCLIz$PowerEdge RAID Controller management�perccli)�systemZstorageZhardware)r �jsonFzcollect data in JSON format)�defaultZdescc C s| d}g d�}| � d�rdnd}| �� }|D ]&}| jd|||f d||f |d� q*d }| jd
|||f d||f |d� d S )Nz/opt/MegaRAID/perccli/perccli64)zshow 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.9/site-packages/sos/report/plugins/perccli.py�setup s
�
�z
PercCLI.setupN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr Zoption_listr r
r
r
r r s �r N)Zsos.report.pluginsr r r r r
r
r
r �<module> s