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__/arcconf.cpython-36.opt-1.pyc
3

-�_g��@s.ddlZddlmZmZGdd�dee�ZdS)�N)�Plugin�IndependentPluginc@s$eZdZdZdZdZdZdd�ZdS)�ArcConfz�
    The ArcConf plugin is meant for sas adapters, and will collect logs and
    information for each RAID adapter discovered on the system.
    z+arcconf Integrated RAID adapter information�arcconfcCs�|jd�}|ddkr�xn|dj�D]^}yBtjd|�jd�}|j�d}|rh|jd|��d|�d	�g�Wq$tk
r�w$Yq$Xq$WdS)
Nzarcconf listZstatusr�outputz^[\s]*Controller (\d)+�zarcconf getconfig zarcconf GETLOGS z UART)Zcollect_cmd_output�
splitlines�re�match�group�splitZadd_cmd_output�AttributeError)�selfZlistarcconf�liner
Z
controller_id�r�/usr/lib/python3.6/arcconf.py�setups
z
ArcConf.setupN)r)�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZcommandsrrrrrrs
r)r	Zsos.report.pluginsrrrrrrr�<module>
s