Am working on small program that used to calculate the memory usage of AIX servers. Am using svmon -G command to get the memory usage. For example, consider the following output.
Code:
$ svmon -G
size inuse free pin virtual mmode
memory 1957888 670177 1287711 411476 512709 Ded
pg space 131072 2929
work pers clnt other
pin 350964 0 0 60512
in use 512709 0 157468
PageSize PoolSize inuse pgsp pin virtual
s 4 KB - 269713 2929 85684 112245
m 64 KB - 25029 0 20362 25029
$
Am using "in use" value at the 6-th line number as memory usage. It gives 26 % as a memory usage. Also am using /bin/ps -eo comm,pmem,args to get the all the process memory usage to confirm with previous calculation.But value calculated by both methods does not match.
Please advise.
Moderator's Comments:
edit by bakunin: my first advice is to use CODE-tags. Its the button misleadingly labeled "CODE" (in case you can't find it).
Hi All,
I have a question, can you guys please help me by giving your valuable suggestons:
I am using AIX 5L, running oracle 7 version. I need to increase the oracle memory to 40 MB more. Currently Oracle occupies 260M. I wanted to know whether I can increase the memory without any problem.... (1 Reply)
Hi All,
I have a question, can you guys please help me by giving your valuable suggestons:
I am using AIX 5L, running oracle 7 version. I need to increase the oracle memory to 40 MB more. Currently Oracle occupies 260M. I wanted to know whether I can increase the memory without any problem.... (3 Replies)
Hi,
We have AIX 5.1 machine of RAM 8 GB and paging space is 8GB. we are getting high memory usage of almost 99%.Can anybody please help in this ?
Partial vmstat o/p
kthr memory
----- -----------
r b avm fre
2 1 278727 1143
There is no paging issue.Becoz in... (5 Replies)
How to find the memory utilization of AIX server using svmon -G output.
Sample output for svmon -G command from my AIX test server,
size inuse free pin virtual
memory 4014080 3995443 18637 575916 1876393
pg space 1179648 ... (3 Replies)
Hi All,
I have some questions regarding the performance, MEMORY/ Virtual Memory (paging /swap space)
Please see the nmon-MEMORY stats from my AIX LPAR.
24 GB --> RAM
3456 MB --> Paging Space
│ Memory ───────────────────────────────────────────────────────────────────────
│... (8 Replies)
Hi, i have 2 identical web servers using AIX. I use nmon analyser to check their performance.
The server A exceeds 20% memory usage for system, 5% for cache and the rest 75% for processes. While, it uses 4% of Paging Space.
The server B exceeds 20% for system, 45% for cache and 35% for processes.... (24 Replies)
Discussion started by: dim
24 Replies
LEARN ABOUT PHP
wincache_scache_meminfo
WINCACHE_SCACHE_MEMINFO(3) 1 WINCACHE_SCACHE_MEMINFO(3)wincache_scache_meminfo - Retrieves information about session cache memory usageSYNOPSIS
array wincache_scache_meminfo (void )
DESCRIPTION
Retrieves information about memory usage by session cache.
RETURN VALUES
Array of meta data about session cache memory usage or FALSE on failure
The array returned by this function contains the following elements:
o memory_total - amount of memory in bytes allocated for the session cache
o memory_free - amount of free memory in bytes available for the session cache
o num_used_blks - number of memory blocks used by the session cache
o num_free_blks - number of free memory blocks available for the session cache
o memory_overhead - amount of memory in bytes used for the session cache internal structures
EXAMPLES
Example #1
A wincache_scache_meminfo(3) example
<pre>
<?php
print_r(wincache_scache_meminfo());
?>
</pre>
The above example will output:
Array
(
[memory_total] => 5242880
[memory_free] => 5215056
[num_used_blks] => 6
[num_free_blks] => 3
[memory_overhead] => 176
)
SEE ALSO wincache_fcache_fileinfo(3), wincache_fcache_meminfo(3), wincache_ocache_fileinfo(3), wincache_rplist_fileinfo(3), wincache_rplist_mem-
info(3), wincache_refresh_if_changed(3), wincache_ucache_info(3), wincache_scache_info(3).
PHP Documentation Group WINCACHE_SCACHE_MEMINFO(3)