HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/iprconfig.cpython-36.pyc
3

3��dC�@s2ddlZddlmZmZmZGdd�dee�ZdS)�N)�Plugin�IndependentPlugin�SoSPredicatec@s$eZdZdZdZdZd	Zdd�ZdS)
�	IprConfigz8IBM Power RAID storage adapter configuration informationZ	iprconfig�iprutils�ppc64.*c
Cs�|jdt|dgd�d�}|ddks(dS|jddd	d
dddd
ddg
�g}|dr�tjd�}x:|dj�D]*}|jd�}|j|d�rj|j|d�qjWx6|D].}|jd|�|jd|�|jd|�q�W|jd�}|ddks�dS|ds�dSd}|j|�}	|	ddk�sdS|	d�s$dSx||dj�D]l}d|k�r2tjd|�}|djd�\}
}x<|	dj�D],}||k�rl|jd�}|jd|d��qlW�q2WdS)Nziprconfig -c show-ioasZsg)Zkmods)ZpredZstatusrziprconfig -c show-configziprconfig -c show-alt-configziprconfig -c show-arraysziprconfig -c show-jbod-disksziprconfig -c show-hot-sparesziprconfig -c show-af-disksziprconfig -c show-all-af-disksziprconfig -c show-slotsziprconfig -c dump�output� ziprconfig -c show-details %sz!iprconfig -c show-battery-info %sziprconfig -c show-perf %sZ	Enclosurez\s+��/ziprconfig -c query-ses-mode %s)	Zcollect_cmd_outputrZadd_cmd_output�re�compile�
splitlines�split�search�append)
�selfZ	show_ioasZdevices�p�lineZtempZdeviceZshow_configZshow_alt_configZ	altconfigZpciZscsiZalt_line�r�/usr/lib/python3.6/iprconfig.py�setups^








zIprConfig.setupN)r)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZpackagesZ
architecturesrrrrrrs
r)rZsos.report.pluginsrrrrrrrr�<module>s