Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o ���b� � @ s. d dl Z d dlmZmZ G dd� dee�ZdS )� N)�Plugin�IndependentPluginc @ s$ e Zd ZdZdZdZdZdd� ZdS )� IprConfigz8IBM Power RAID storage adapter configuration information� iprconfig)�iprutils)zppc64.*c C sl | � g d�� | �d�}|d dksd S g }|d r;t�d�}|d �� D ]}|�d�}|�|d �r:|�|d � q%|D ]}| � d| � | � d | � | � d | � q=| �d�}|d dksbd S |d shd S d}| �|�} | d dkswd S | d s}d S |d �� D ]0}d |v r�t�d|�}|d �d�\} }| d �� D ]}||v r�|�d�}| � d|d � q�q�d S )N) �iprconfig -c show-config�iprconfig -c show-alt-configziprconfig -c show-arraysziprconfig -c show-jbod-disks�iprconfig -c show-ioasziprconfig -c show-hot-sparesziprconfig -c show-af-disksziprconfig -c show-all-af-disksziprconfig -c show-slotsziprconfig -c dumpr �statusr �output�sg� ziprconfig -c show-details %sz!iprconfig -c show-battery-info %sziprconfig -c show-perf %sr r � Enclosurez\s+� �/ziprconfig -c query-ses-mode %s)�add_cmd_output�collect_cmd_output�re�compile� splitlines�split�search�append) �self� show_ioas�devices�p�line�temp�device�show_config�show_alt_config� altconfig�pci�scsi�alt_line� r&