syspy  0.1
syspy windows system information tool with python
syspy.memory.test Namespace Reference

Functions

def virtualMem ()
 
def swapMem ()
 
def memoryInfo ()
 
def memoryInfoEx ()
 
def memoryPercent ()
 
def memoryMap ()
 

Variables

tuple mem = Memory()
 

Function Documentation

def syspy.memory.test.memoryInfo ( )
START Test Results

RSS: 8.1M VMS: 5.3M

END Test Results

START return values

a = RSS(Resident Set Size)
b = VMS(Virtual Memory Size)

END return values

Definition at line 49 of file test.py.

def syspy.memory.test.memoryInfoEx ( )
START Test Results

    num_page_faults: 2.2K
    peak_wset: 8.0M
    wset: 8.0M
    peak_paged_pool: 98.6K
    paged tools: 98.6K
    peak_nonpaged_pool: 4.4K
    nonpaged_pool: 4.4K
    pagefile: 5.2M
    peak_pagefile: 5.2M
    private: 5.2M

END Test Results

START return values

a = num_page_faults
b = peak_wset
c = wset
d = peak_paged_pool
e = paged_tool
f = peak_nonpaged_pool
g = nonpaged_pool
h = pagefile
i = peak_pagefile
j = private

http://pythonhosted.org/psutil/#psutil.Process.memory_info_ex

END return values

Definition at line 67 of file test.py.

def syspy.memory.test.memoryMap ( )
START Test Results
    PID: 6128
    Name: conhost.exe
    RSS: 4.0K
    Permission: r
    Path: C:\Windows\System32\apisetschema.dll
    Total RSS: 24.5M
END Test Results

START return values

PID: Process ID
NAME: Process Name
RSS: Resident Set Size
Permission: Process Permission
Path: Process Api Path
Total RSS: Total Resident Set Size

END return values

Definition at line 119 of file test.py.

def syspy.memory.test.memoryPercent ( )
START Test Results

    Memory Percent: 0.3964004619891539

END Test Results

Definition at line 108 of file test.py.

def syspy.memory.test.swapMem ( )
START Test Results

    Total: 4.0G Used: 1.7G Free: 2.3G Percent: 42.3 Sin: 0B Sout: 0B

END Test Results

START return values

a = total swap memory
b = used swap memory
c = free swap memory
d = swap memory percent
d = the number of bytes the system has swapped in from disk
e = the number of bytes the system has swapped out from disk

END return values

Definition at line 27 of file test.py.

def syspy.memory.test.virtualMem ( )
START Test Results

    Total: 2.0G Available: 912.5M Percent: 55.3 Used: 1.1G Free: 912.5M

END Test Results

START return values

a = total
b = available
c = percent
d = used
e = free

END return values

Definition at line 5 of file test.py.

Variable Documentation

tuple syspy.memory.test.mem = Memory()

Definition at line 3 of file test.py.