????

Your IP : 216.73.216.152


Current Path : /proc/self/root/proc/self/root/lib/python2.7/site-packages/sos/plugins/
Upload File :
Current File : //proc/self/root/proc/self/root/lib/python2.7/site-packages/sos/plugins/katello.pyc

�
Dr^c@sOddlmZmZddlmZddlZdeefd��YZdS(i����(tPlugintRedHatPlugin(tquoteNtKatellocBs,eZdZdZdZd�Zd�ZRS(s)Katello application life-cycle managementtkatellocCs�|jddg�d}tjj|�s4d}n|jgdD]}d||f^qA�|jd�}|j|dd	�|jd
�}|j|dd�dS(Ns4/var/log/httpd/katello-reverse-proxy_access_ssl.log*s3/var/log/httpd/katello-reverse-proxy_error_ssl.log*s/etc/pki/pulp/qpid/client.crts(/etc/pki/katello/qpid_client_striped.crttqucs<qpid-stat -%s --ssl-certificate=%s -b amqps://localhost:5671sAselect id,name,checksum_type,updated_at from katello_repositoriestsuggest_filenametkatello_repositoriess[SELECT table_name, pg_size_pretty(total_bytes) AS total, pg_size_pretty(index_bytes) AS INDEX , pg_size_pretty(toast_bytes) AS toast, pg_size_pretty(table_bytes) AS TABLE FROM ( SELECT *, total_bytes-index_bytes-COALESCE(toast_bytes,0) AS table_bytes FROM (SELECT c.oid,nspname AS table_schema, relname AS TABLE_NAME, c.reltuples AS row_estimate, pg_total_relation_size(c.oid) AS total_bytes, pg_indexes_size(c.oid) AS index_bytes, pg_total_relation_size(reltoastrelid) AS toast_bytes FROM pg_class c LEFT JOIN pg_namespace n ON n.oid = c.relnamespace WHERE relkind = 'r') a) a order by total_bytes DESCt
db_table_size(t
add_copy_spectostpathtisfiletadd_cmd_outputtbuild_query_cmd(tselftcerttopttkat_dbtdb_size((s7/usr/lib/python2.7/site-packages/sos/plugins/katello.pytsetups
	!		cCs*d}d}|t|�}|t|�S(Nssu postgres -c %sspsql foreman -c %s(R(Rtqueryt_cmdt_dbcmdtdbq((s7/usr/lib/python2.7/site-packages/sos/plugins/katello.pyR=s(R(t__name__t
__module__t__doc__tplugin_nametpackagesRR(((s7/usr/lib/python2.7/site-packages/sos/plugins/katello.pyRs
	'(tsos.pluginsRRtpipesRtos.pathR
R(((s7/usr/lib/python2.7/site-packages/sos/plugins/katello.pyt<module>s