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__/block.cpython-36.pyc
3

3��d[	�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s(eZdZdZdZd
ZdZdZdd�Zd	S)
�BlockzBlock device information�block�storage�hardware�
util-linux�
/sys/blockc
Cs�|jd�|jddi�|jddd�|jddd�|jd	d	d�|jd
dd�|jdd
dddg�|jdddddddddg	�dddg}|j|ddd�|jd ddd!d"�|jd#�}|d$d%kr�x6|d&j�D]&}d'|kr�|j�d%}|jd(|�q�WdS))Nz/sys/block/*/queue/ioschedz/sys/block/.*/queue/schedulerZ	schedulerzblkid -c /dev/nullZblkid)�tagsz
ls -lanR /devZls_dev�lsblkzlsblk -O -PZlsblk_pairszlsblk -tzlsblk -Dzblockdev --reportzls -lanR /sys/blockz
losetup -az/etc/blkid.tabz/run/blkid/blkid.tabz/proc/partitionsz/proc/diskstatsz/sys/block/*/queue/z/sys/block/sd*/device/timeoutz/sys/block/hd*/device/timeoutz/sys/block/sd*/device/statez/sys/block/loop*/loop/zparted -s %(dev)s unit s printzudevadm info %(dev)szudevadm info -a %(dev)srzram.*)�devices�	blacklistzfdisk -l %(dev)sZfdisk_l_sos)r
rr
zlsblk -f -a -lZstatusr�outputZcrypto_LUKSzcryptsetup luksDump /dev/%s)Zadd_forbidden_pathZ
add_file_tagsZadd_cmd_outputZ
add_copy_specZadd_device_cmdZcollect_cmd_output�
splitlines�split)�selfZcmdsr�lineZdev�r�/usr/lib/python3.6/block.py�setupsF



zBlock.setupN)rr)r)r	)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZverify_packages�filesrrrrrrsrN)Zsos.report.pluginsrrrrrrr�<module>	s