관리-도구
편집 파일: cloudlinux-limits.cpython-311.pyc
� �EBg{ � � � d dl Z d dlmZ d dlmZ dZd ad� Zd� Ze dk r! e� � e j t � � dS dS )� N)�CloudlinuxLimits)�is_root_or_exitzcloudlinux-limits-profiling.binc �p � t � � } | � t j dd � � � ad S )N� )r �run�sys�argv� _ret_code)�clls �)py/cllimits/cl_utils/cloudlinux-limits.py�workr s, � � � � �C����������%�%�I�I�I� c �� � t � � dt j v } | r�t j � d� � t }ddl}|� d|� � t d|z � � ddl}|� |� � }t d� � t � � |� d� � � d� � dS t � � dS ) z Main run function z--profilingr Nzwork()zProfiling end; result saved to z&--------------------------------------�timei� ) r r r �remove�_PROFILING_REPORT_FILENSME�profiler �print�pstats�Stats� sort_stats�print_statsr )�is_profiling�profiler_logr r �ps r �mainr s� � � ���� �C�H�,�L�� ����� �&�&�&�1���������H�l�+�+�+� �/�,�>�?�?�?�� � � ��L�L��&�&�� �6�7�7�7� ���� ���V���(�(��-�-�-�-�-� �����r �__main__)r �cllimits.lib.limitsr �clcommon.utilsr r r r r �__name__�exit� r r �<module>r# s� �� � � � � 0� 0� 0� 0� 0� 0� *� *� *� *� *� *� ?� � � �&� &� &�� � �2 �z����D�F�F�F��C�H�Y������ �r