HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/peripety.cpython-36.pyc
3

\��h��@s:ddlmZddlZddlmZmZGdd�dee�ZdS)�)�matchN)�Plugin�RedHatPluginc@s$eZdZdZdZdZdZdd�ZdS)	�PeripetyzPeripety Storage Event Monitor�peripety�	peripetydcsd|jd�ddddg�t�fdd�dd	�tjd
�D��}x&|D]}|jd|��d|��g�q>WdS)
Nz/etc/peripetyd.confzvd.*zsr.*zloop.*zram.*cst�fdd��D��S)Nc3s|]}t|��VqdS)N)r)�.0Zreg)�x��/usr/lib/python3.6/peripety.py�	<genexpr>!sz3Peripety.setup.<locals>.<lambda>.<locals>.<genexpr>)�any)r	)�
forbid_reg)r	r�<lambda>!sz Peripety.setup.<locals>.<lambda>cSsg|]}|jd�d�qS)�/����)�split)r�dr
r
r�
<listcomp>"sz"Peripety.setup.<locals>.<listcomp>z/sys/block/*z
prpt info zprpt query --blk )Z
add_copy_spec�filter�globZadd_cmd_output)�selfZdisksZdiskr
)rr�setups

zPeripety.setupN)r)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZpackagesZservicesrr
r
r
rrs
r)�rerrZsos.report.pluginsrrrr
r
r
r�<module>s