관리-도구
편집 파일: rpm.pyo
� u��ec @ s3 d d l m Z m Z d e e f d � � YZ d S( i����( t Plugint RedHatPlugint Rpmc B s\ e Z d Z d Z d Z d d d e f d d d e f d d d e f g Z d Z d � Z RS( s RPM Package Manager t rpmt systemt packagemanagert rpmqs* queries for package information via rpm -qt fastt rpmvas runs a verify on all packagest slowt rpmdbs collect /var/lib/rpmc s� � j d � � f d � } � j d � r� d } | d } d } | | | d d � d } | d } | d } | d } | | d d d � n � j d � r� � j d d d d d �n � j d � r� � j d d d �� j d � n � j d � d S( Ns /var/log/rpmpkgsc sH d | } | } | r+ d | d | } n � j | d | d | �d S( Ns rpm --nodigest -qa --qf=%ss sh -c '%s't |t root_symlinkt suggest_filename( t add_cmd_output( t query_fmtt filter_cmdt symlinkt suggestt rpmq_cmdt shell_cmd( t self( s3 /usr/lib/python2.7/site-packages/sos/plugins/rpm.pyt add_rpm_cmd s R s( "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}~~s %{INSTALLTIME:date} "s5 awk -F "~~" "{printf \"%-59s %s\n\",\$1,\$2}"|sort -Vs installed-rpmss( "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\ts% %{INSTALLTIME:date}\t%{INSTALLTIME}\ts %{VENDOR}\t%{BUILDHOST}\ts %{SIGPGP}\t%{SIGPGP:pgpsig}\n"s package-dataR s rpm -VaR s rpm-Vat timeouti� R s lsof +D /var/lib/rpmR t lsof_D_var_lib_rpms /var/lib/rpms rpm --showrc( t add_copy_spect get_optiont NoneR ( R R R R ( ( R s3 /usr/lib/python2.7/site-packages/sos/plugins/rpm.pyt setup s( ( s systemR ( R ( t __name__t __module__t __doc__t plugin_namet profilest Truet Falset option_listt verify_packagesR ( ( ( s3 /usr/lib/python2.7/site-packages/sos/plugins/rpm.pyR s N( t sos.pluginsR R R ( ( ( s3 /usr/lib/python2.7/site-packages/sos/plugins/rpm.pyt <module> s