Current File : //lib/python2.7/site-packages/sos/plugins/nvme.pyo |
�
u��ec @ sQ d d l m Z m Z m Z m Z d d l Z d e e e e f d � � YZ d S( i����( t Plugint RedHatPlugint DebianPlugint UbuntuPluginNt Nvmec B s, e Z d Z d Z d Z d � Z d � Z RS( s8 Collect config and system information about NVMe devicest nvmes nvme-clic C s5 t j d � } g | D] } | j d � r | ^ q S( Ns /sys/block/R ( t ost listdirt
startswith( t selft sys_blockt dev( ( s4 /usr/lib/python2.7/site-packages/sos/plugins/nvme.pyt get_nvme_devices s c
C s� | j d � | j d d g � xg | j � D]Y } | j d | d | d | d | d | d | d
| d | d | d
| g
� q- Wd S( Ns /etc/nvme/discovery.confs nvme lists nvme list-subsyss smartctl --all /dev/%ss nvme list-ns /dev/%ss nvme fw-log /dev/%ss nvme list-ctrl /dev/%ss nvme id-ctrl -H /dev/%ss nvme id-ns -H /dev/%ss nvme smart-log /dev/%ss nvme error-log /dev/%ss nvme show-regs /dev/%ss nvme get-ns-id /dev/%s( t
add_copy_spect add_cmd_outputR ( R R ( ( s4 /usr/lib/python2.7/site-packages/sos/plugins/nvme.pyt setup s
( s nvme-cli( t __name__t
__module__t __doc__t plugin_namet packagesR R ( ( ( s4 /usr/lib/python2.7/site-packages/sos/plugins/nvme.pyR
s
( t sos.pluginsR R R R R R ( ( ( s4 /usr/lib/python2.7/site-packages/sos/plugins/nvme.pyt <module> s "