Changes between Version 18 and Version 19 of CheckSystem/checkMem


Ignore:
Timestamp:
09/15/09 09:20:29 (4 years ago)
Author:
mickem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CheckSystem/checkMem

    v18 v19  
    1414What the different types really mean 
    1515||'''Type'''||'''Meaning''' 
    16 ||page|| Number of .. ?? This is the commitlimit (same as used in NSCLient, ie. via PDH, available on NT4) 
    17 ||paged|| Number of .. ??  (Usually identical to 'page', different APIs for I think the same thing) According to M$ this is: Size of available memory to commit, in bytes. 
     16||page||The maximum amount of memory the current process can commit, in bytes. This value is equal to or smaller than the system-wide available commit value. 
     17||paged||System-wide committed memory limit (same as used in NSCLient, ie. via PDH, available on NT4) 
    1818||virtual|| Number of pages of swap currently in use (note - it does '''''NOT''''' = (physical + swap) as on *nix boxes) According to M$ this is: Size of unreserved and uncommitted memory in the user mode portion of the virtual address space of the calling process, in bytes.  
    19 ||physical|| Used physical memory in bytes. 
     19||physical||The amount of physical memory currently available, in bytes. This is the amount of physical memory that can be immediately reused without having to write its contents to disk first. It is the sum of the size of the standby, free, and zero lists. 
    2020 
    2121== Examples == 
     22=== Page === 
    2223Check that the page is below 80%: 
    23 {{{ 
    24  checkMem -a MaxWarn=80% MaxCrit=90% ShowAll type=page 
    25  OK: page: 758M (795205632B)|page=30% 80%;90%; 
    26 }}} 
    2724 
     25[[NSClientCommand(CheckMEM,MaxWarn=80% MaxCrit=90% ShowAll type=page)]] 
     26[[NSClientResult(OK,OK: page: 758M (795205632B),page=30% 80%;90%;)]] 
     27[[NSClientConfig(80,90)]] 
     28 
     29=== Physical === 
    2830Check that the physical is below 80%: 
    29 {{{ 
    30  checkMem -a MaxWarn=80% MaxCrit=90% ShowAll type=physical  
    31  OK: physical: 758M (795205632B)|'physical memory'=30% 80%;90%; 
    32 }}} 
     31 
     32[[NSClientCommand(CheckMEM,MaxWarn=80% MaxCrit=90% ShowAll type=physical)]] 
     33[[NSClientResult(OK,OK: physical: 758M (795205632B),'physical memory'=30% 80%;90%;)]] 
     34[[NSClientConfig(80,90)]] 
     35 
     36=== Multiple === 
     37Check that the physical is below 80%: 
     38 
     39[[NSClientCommand(CheckMEM,MaxWarn=80% MaxCrit=90% ShowAll type=physical type=page type=virtual)]] 
     40[[NSClientResult(OK,...)]] 
     41[[NSClientConfig(80,90)]]