Edit File: cloudlinux-limits.cpython-37.opt-1.pyc
B 5/9e� � @ sl d dl mZ d dl mZ d dlZd dlmZ d dlmZ dZd a dd� Z d d � Zedkrhe� e� t � dS )� )�print_function)�absolute_importN)�CloudlinuxLimits)�is_root_or_exitzcloudlinux-limits-profiling.binc C s t � } | �tjdd � �ad S )N� )r �run�sys�argv� _ret_code)Zcll� r �)py/cllimits/cl_utils/cloudlinux-limits.py�work s r c C s� t � dtjk} | rvtj�d� t}ddl}|�d|� td| � ddl}|� |�}td� t� |� d��d� nt� dS ) z Main run function z--profilingr Nzwork()zProfiling end; result saved to z&--------------------------------------Ztimei� ) r r r �remove�_PROFILING_REPORT_FILENSME�profiler �print�pstatsZStatsZ sort_statsZprint_statsr )Zis_profilingZprofiler_logr r �pr r r �main s r �__main__)Z __future__r r r Zcllimits.lib.limitsr Zclcommon.utilsr r r r r �__name__�exitr r r r �<module> s