403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/sos/help/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/sos/help/__pycache__/__init__.cpython-314.pyc
+
G%@ik+���^RIt^RIt^RIt^RIt^RIHt^RIHt^RIH	t	^RI
Ht^RIH
t
^RIHtHt]!]P$!4P&^x4t!RR	]	4t!R
R4tR# ]d^xtL"i;i)�N)�OrderedDict)�fill)�SoSComponent)�
import_policy)�Plugin)�bold�ImporterHelperc�aa�]tRt^toRtRtRtRtRtRR/t	V3Rlt
]R4tRt
R	tR
tRtRtR
tRtRtRtVtV;t#)�	SoSHelperzProvide better, more in-depth help for specific parts of sos than is
provided in either standard --help output or in manpages.
zDetailed help infomationF�topic�c�^<�\SV`WV4VPPVnR#)N)�super�__init__�optsr)�self�parser�args�cmdline�	__class__s&&&&��3/usr/lib/python3/dist-packages/sos/help/__init__.pyr�SoSHelper.__init__+s!���
����w�/��Y�Y�_�_��
�c�d�RVnVPRR4pVPRRRRRR7R	#)
zsos help TOPIC [options]zHelp Information Optionsz<These options control what detailed information is displayedr�TOPICr
�?z/name of the topic or component to show help for)�metavar�default�nargs�helpN)�usage�add_argument_group�add_argument)�clsr�help_grps&& r�add_parser_options�SoSHelper.add_parser_options/sA��1����,�,�&�J�
��	���g�w��#�%/�	�	1rc���VPPPR4^,pRRRRRR/pW9d>VPPPWV,4VPnR#R#)�.�clean�cleaner�mask�collect�	collectorN)rr�split�replace)r�_com�_replaces&  r�sanitize_topic_component�"SoSHelper.sanitize_topic_component:sd���y�y���$�$�S�)�!�,���Y��I��{�
��
��"�i�i�o�o�5�5�d�T�N�K�D�I�I�O�rc�r�VPP'g'VP4\P!^4VP4VP
4pX'd/\4pVPV4VP4R#\RVPPR24R# \dFp\RTPPRT24\P!^4Rp?L�Rp?ii;i \dp\RT24Rp?R#Rp?ii;i)rzCould not load help for 'z': NzError loading help: zNo help section found for '�')rr�display_self_help�sys�exitr3�get_obj_for_topic�	Exception�print�HelpSection�display_help�display)r�klass�err�hts&   r�execute�SoSHelper.executeDs����y�y�����"�"�$��H�H�Q�K�	
�%�%�'�	��*�*�,�E�
�
4� �]���"�"�2�&��
�
��
�/��	�	���/@��B�C���	��-�d�i�i�o�o�->�c�#��G�H��H�H�Q�K�K��	���
4��,�S�E�2�3�3��
4�s0�B?�-+D�?D�
;D
�
D�D6�D1�1D6c��RRRRRRRRR	R
RRR
RRR/pRpVPPV9dZ\P!RVPP,4p\	W1VPP,4pV#RVP
RVPRVPRVP/pVP4F:wrVVPPPV4'gK2V!4pV#	V#)z�Based on the help topic we're after, try to smartly decide which
object we need to manipulate in order to get help information.
�report�	SoSReport�report.pluginsrr+�
SoSCleanerr.�SoSCollectorzcollector.transports�RemoteTransportzcollector.clusters�Cluster�policies�Policy�upload�	SoSUploadN�sos.zreport.plugins.z	policies.zcollector.transports.zcollector.clusters.)rr�	importlib�
import_module�getattr�_get_plugin_variant�_get_policy_by_name�_get_collect_transport�_get_collect_cluster�items�
startswith)r�
static_mapr$�mod�_help�_sec�values&      rr:�SoSHelper.get_obj_for_topic\s���

�k��h��|���"�$5� �)����k�	
�
����9�9�?�?�j�(��)�)�&�4�9�9�?�?�*B�C�C��#�$�)�)�/�/�:�;�C��
�"�4�#;�#;��T�5�5�'��)D�)D�%�t�'@�'@�	�E� %�{�{�}����9�9�?�?�-�-�d�3�3��'�C���
�	 -��
rc��^RIHpVPPP	R4R,pW!9d	W,#R#)r)�
TRANSPORTSr)N���)�sos.collector.sosnoderbrrr/)rrb�
_transports&  rrW� SoSHelper._get_collect_transport}s4��4��Y�Y�_�_�*�*�3�/��3�
��#��)�)�rc��^RIHp^RIpVPVPP
R4pVFFpV^,VPPPR4R,8XgK=V^,u#	R#)r)rJN�clustersr)rc)	�
sos.collectorrJ�sos.collector.clusters�
_load_modulesr.rhrrr/)rrJ�sosrh�clusters&    rrX�SoSHelper._get_collect_cluster�sd��.�%��-�-�c�m�m�.D�.D�.8�:���G��q�z�T�Y�Y�_�_�2�2�3�7��;�;��q�z�!� �rc���\P!RVPP,4pVP	4\
P!V\
P4pVUu.uF+p\V^,\4'gK"V^,NK-	ppVFFpVP4'gKVPPVP44pVu#	R#uupi)rQN)
rRrSrr�load_local_policy�inspect�
getmembers�isclass�
issubclassr�__subclasses__�policy�match_plugin)rr\�mems�m�plugins�pluginr$s&      rrU�SoSHelper._get_plugin_variant�s����%�%�f�t�y�y���&>�?����� ��!�!�#�w���7��!%�B��A��A�a�D�&�)A�4�1�Q�4�4���B��F��$�$�&�&��k�k�.�.�v�/D�/D�/F�G���
����Cs�+C,�
C,c�b�VPPPR4R,p^RIp\	VP
P4pVP4FKp\V4F9pVPP4PRR4pWa8XgK5Vuu#	KM	R#)r)Nrvr
rc)rrr/�sos.policies.distrosr	rM�distros�get_modulesr�__name__�lowerr0)r�_topicrl�_helperr\rv�_ps&      rrV�SoSHelper._get_policy_by_name�s��������&�&�s�+�B�/��	$� ����!5�!5�6���&�&�(�C�'��,���_�_�*�*�,�4�4�X�r�B���<�!�M�-�)�
rc��\RR4pVPR\R4R24VPR4p\R4pVPRVR	24\R
4pVPRVR24VPR
4pVPR4RRRRRRRRRRRRRR/pVP	4F'wrxVPR\V4R
V2RR 7K)	VP4R!#)"zXDisplays the help information for this component directly, that is
help for `sos help`.
zDetailed help for sos helpz�The 'help' sub-command is used to provide more detailed information on different sub-commands available to sos as well as different components at play within those sub-commands.z�SoS - officially pronounced "ess-oh-ess" - is a diagnostic and supportability utility used by several Linux distributions as an easy-to-use tool for standardized data collection. The most known component of which is z
sos reportz� (formerly sosreport) which is used to collect troubleshooting information into an archive for review by sysadmins or technical support teams.zHow to search using sos helpz$component.$topic.$subtopicz8To get more information on a given topic, use the form 'z'.zsos help report.plugins.kernelz
For example 'zM' will provide more information on the kernel plugin for the report function.zAvailable Help Sectionsz�The following help sections are available. Additional help topics and subtopics may be displayed within their respective help section.
rFz#Detailed help on the report commandrHz'Information on the plugin design of soszreport.plugins.$pluginz!Information on a specific $pluginr*z"Detailed help on the clean commandr-z$Detailed help on the collect commandrOz#Detailed help on the upload commandrMz+How sos operates on different distributions�	z<36F)�newlineN)r=�add_textr�add_sectionrYr?)	r�	self_help�subsectr!�rep_ex�
avail_help�sections�sectr_s	&        rr7�SoSHelper.display_self_help�sN�� �(�J�
�	�	���
&�'+�<�&8�%9�:J�
J�	
��'�'�(F�G���2�3�����
���s�
�	
�
�6�7�����=���1%�%�	&��*�*�+D�E�
����
�	
�
�=��G�$�&I��<��>��;��E�
��$�>�>�+�K�D����"�T�$�Z��$4�U�G� <�e��L�,�	���r)r)r��
__module__�__qualname__�__firstlineno__�__doc__�desc�configure_logging�load_policy�
load_probe�arg_defaultsr�classmethodr&r3rCr:rWrXrUrVr7�__static_attributes__�__classdictcell__�
__classcell__)r�
__classdict__s@@rrrsx�����&�D����K��J�	���L�%��1��1�L�D�0�B��	��3�3rrc�Xa�]tRt^�toRtR
RltRtRRltRRltRRlt	Rt
RtVtR	#)
r=z}This class is used to build the output displayed by `sos help` in a
standard fashion that provides easy formatting controls.
c�H�WnW nW0n\4VnR#)aK
:param title:   The title of the output section, will be prominently
                displayed
:type title:    ``str``

:param content: The text content to be displayed with this section
:type content:  ``str``

:param indent:  If the section should be nested, set this to a multiple
                of 4.
:type indent:   ``int``
N)�title�content�indentrr��rr�r�r�s&&&&rr�HelpSection.__init__�s���
�����#�
��
rc��WnR#)zSet or override the title for this help section

:param title:   The name to set for this help section
:type title:    ``str``
N)r�)rr�s&&r�	set_title�HelpSection.set_title�s	���
rc��VP'dV'dRMRpW1,pV;PV,
unR#)z�Add body text to this section. If content for this section already
exists, append the new ``content`` after a newline.

:param content:     The text to add to the section
:type content:      ``str``
z

�
N)r�)rr�r��lns&&& rr��HelpSection.add_text�s+���<�<�<�"���B��l�G������rc�L�VPWV4VPV,#)aAdd a section of text to the help section that will be displayed
when the HelpSection object is printed.

Sections will be printed *in the order added*.

This will return a subsection object with which block(s) of text may be
added to the subsection associated with ``title``.

:param title:   The title of the subsection being added
:type title:    ``str``

:param content: The text the new section should contain
:type content:  ``str``

:returns:   The newly created subsection for ``title``
:rtype:     ``HelpSection``
)�_add_sectionr�r�s&&&&rr��HelpSection.add_sections#��$	
���%�&�1��}�}�U�#�#rc�n�WP9d\R4h\WV4VPV&R#)z�Internal method used to add a new subsection to this help output

:param title:   The title of the subsection being added
:type title:    ``str`
z(A section with that title already existsN)r�r;r=r�s&&&&rr��HelpSection._add_sections/���M�M�!��F�G�G�*�5�6�B��
�
�e�rc	��\\\VP4\VP
R74VPP4F(p\\V\VP
R74K*	VPF/p\R4VPV,P4K1	R#)zGPrint the HelpSection contents, including any subsections, to
console.
)�width�initial_indentr
N)
r<rrr��TERMSIZEr�r��
splitlinesr�r?)rr��sections&  rr?�HelpSection.display&s��	�d������H�T�[�[�
�	��,�,�)�)�+�B��$�r��$�+�+�F�G�,��}�}�G��"�I��M�M�'�"�*�*�,�%r)r�r�r�r�N)r
r
r
)T)r
r
)
r�r�r�r�r�rr�r�r�r�r?r�r�)r�s@rr=r=�s.�����&�$�
 �$�*C�-�-rr=)rqrRr8�os�collectionsr�textwrapr�
sos.componentr�sos.policiesr�sos.report.pluginsr�
sos.utilitiesrr	�min�get_terminal_size�columnsr�r;rr=�rr�<module>r�sw����
�	�#��&�&�%�.���2�'�'�)�1�1�3�7�H�
|��|�~U-�U-��G���H��s�"A1�1	A=�<A=

Youez - 2016 - github.com/yon3zu
LinuXploit