golden hour
/lib64/python2.7/site-packages/psutil/tests
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
34.28 KB
Del
OK
__init__.pyc
34.08 KB
Del
OK
__init__.pyo
33.3 KB
Del
OK
__main__.py
2.65 KB
Del
OK
__main__.pyc
3.17 KB
Del
OK
__main__.pyo
3.17 KB
Del
OK
runner.py
5.61 KB
Del
OK
runner.pyc
7.57 KB
Del
OK
runner.pyo
7.46 KB
Del
OK
test_aix.py
4.36 KB
Del
OK
test_aix.pyc
3.94 KB
Del
OK
test_aix.pyo
3.94 KB
Del
OK
test_bsd.py
20.1 KB
Del
OK
test_bsd.pyc
23.55 KB
Del
OK
test_bsd.pyo
23.55 KB
Del
OK
test_connections.py
24.46 KB
Del
OK
test_connections.pyc
21.85 KB
Del
OK
test_connections.pyo
21.21 KB
Del
OK
test_contracts.py
23.15 KB
Del
OK
test_contracts.pyc
28.54 KB
Del
OK
test_contracts.pyo
27.42 KB
Del
OK
test_linux.py
86.29 KB
Del
OK
test_linux.pyc
81.64 KB
Del
OK
test_linux.pyo
80.14 KB
Del
OK
test_memory_leaks.py
17.94 KB
Del
OK
test_memory_leaks.pyc
27.39 KB
Del
OK
test_memory_leaks.pyo
27.39 KB
Del
OK
test_misc.py
37.84 KB
Del
OK
test_misc.pyc
42.78 KB
Del
OK
test_misc.pyo
41.52 KB
Del
OK
test_osx.py
9.04 KB
Del
OK
test_osx.pyc
12.78 KB
Del
OK
test_osx.pyo
12.78 KB
Del
OK
test_posix.py
16.17 KB
Del
OK
test_posix.pyc
16.3 KB
Del
OK
test_posix.pyo
16.17 KB
Del
OK
test_process.py
61.87 KB
Del
OK
test_process.pyc
51.23 KB
Del
OK
test_process.pyo
50.26 KB
Del
OK
test_sunos.py
1.26 KB
Del
OK
test_sunos.pyc
1.79 KB
Del
OK
test_sunos.pyo
1.79 KB
Del
OK
test_system.py
34.71 KB
Del
OK
test_system.pyc
31.46 KB
Del
OK
test_system.pyo
29.74 KB
Del
OK
test_unicode.py
12.78 KB
Del
OK
test_unicode.pyc
13.2 KB
Del
OK
test_unicode.pyo
13.14 KB
Del
OK
test_windows.py
33.47 KB
Del
OK
test_windows.pyc
35.48 KB
Del
OK
test_windows.pyo
35.22 KB
Del
OK
Edit: test_aix.pyc
� S��]c @ s� d Z d d l Z d d l m Z d d l m Z d d l m Z d d l Z e j e d � d e j f d � � Y� Z e d k r� d d l m Z e e � n d S( s AIX specific tests.i����N( t AIX( t sh( t unittests AIX onlyt AIXSpecificTestCasec B s5 e Z d � Z d � Z d � Z d � Z d � Z RS( c C sB t d � } d } x% d j � D] } | d | f 7} q Wt j | | � } | j | d � d } t | j d � � | } t | j d � � | } t | j d � � | } t | j d � � | } t j � } d | | } | j | j | � | j | j | d | �| j | j | d | �| j | j | d | �d S( Ns /usr/bin/svmon -O unit=KBs memory\s*s+ size inuse free pin virtual available mmodes (?P<%s>\S+)\s+s( svmon command returned unexpected outputi t sizet availablet inuset freei t delta( R t splitt ret searcht assertIsNotNonet intt groupt psutilt virtual_memoryt assertEqualt totalt assertAlmostEqualt usedR R ( t selft outt re_patternt fieldt matchobjt KBR R R R t psutil_resultt MEMORY_TOLERANCE( ( s; /usr/lib64/python2.7/site-packages/psutil/tests/test_aix.pyt test_virtual_memory s* c C sv t d � } t j d | � } | j | d � t | j d � � } d } t j � } | j t | j | � | � d S( Ns /usr/sbin/lsps -as= (?P<space>\S+)\s+(?P<vol>\S+)\s+(?P<vg>\S+)\s+(?P<size>\d+)MBs'