Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
� i��d� � �, � d dl mZmZ G d� dee� Zy)� )�Plugin�IndependentPluginc � � e Zd ZdZdZdZd� Zy)�MdzMD RAID subsystem�md)�storagec �0 � | j d� | j d� }|d dk( rF|d j � D ]0 }d|v s�|j � d }| j d|z d� � �2 | j g d �� | j dd� � y ) Nzmdadm -D /dev/md*zlsblk -o NAME,FSTYPE -r�statusr �output�linux_raid_memberzmdadm -E /dev/%s�mdadm_E)�tags)z/etc/mdadm.confz/dev/md/md-device-mapz/proc/sys/dev/raid/*z/sys/block/md*/md*z/proc/mdstat�mdstat)�add_cmd_output�exec_cmd� splitlines�split� add_copy_spec)�self� mdadm_members�line�devs �7/usr/lib/python3/dist-packages/sos/report/plugins/md.py�setupzMd.setup s� � ����/�0�� � �&?�@� ���"�a�'�%�h�/�:�:�<� 8��&�$�.��*�*�,�q�/�C��'�'�(:�S�(@�-6� (� 8� 8� ��� � � ���>���9� N)�__name__� __module__�__qualname__� short_desc�plugin_name�profilesr � r r r r s � �$�J��K��H�:r r N)�sos.report.pluginsr r r r"