Sponsored Content
Operating Systems AIX Regarding AIX Memory Utilization usage calculation Post 302778417 by maruthu on Monday 11th of March 2013 02:08:57 AM
Old 03-11-2013
Regarding AIX Memory Utilization usage calculation

Hello,

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:
Mod Comment edit by bakunin: my first advice is to use CODE-tags. Its the button misleadingly labeled "CODE" (in case you can't find it).

Last edited by bakunin; 03-12-2013 at 08:16 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Memory Usage in AIX

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)
Discussion started by: kollam68
1 Replies

2. AIX

Memory Usage in AIX

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)
Discussion started by: kollam68
3 Replies

3. AIX

High memory usage in AIX 5.1

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)
Discussion started by: jayakumarrt
5 Replies

4. AIX

Memory usage on AIX

How to check the memory usage on AIX by various processes? (1 Reply)
Discussion started by: aajmani
1 Replies

5. UNIX for Dummies Questions & Answers

CPU Utilization and Memory Usage

Can any one suggest me, how to get the last week's (Last n weeks) average CPU utilization and Memory usage? (2 Replies)
Discussion started by: siba.s.nayak
2 Replies

6. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

7. AIX

AIX memory usage always high

hi, I want to ask , my AIX 6.1 is always used about 97% memory. Is this normal ? or any command can free up memory like Linux ? thanks. (1 Reply)
Discussion started by: virusxx
1 Replies

8. AIX

Find Memory Utilization in AIX Server

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)
Discussion started by: maruthu
3 Replies

9. AIX

Memory usage in AIX server

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)
Discussion started by: System Admin 77
8 Replies

10. AIX

AIX memory usage by processes

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
passenger-memory-stats(8)				      Administration Commands					 passenger-memory-stats(8)

NAME
passenger-memory-stats - reports a snapshot of the Apache and Phusion Passenger memory statistcs SYNOPSIS
passenger-memory-stats DESCRIPTION
passenger-memory-stats allows you to easily analyze the real memory usage of Phusion Passenger and Apache. Process inspection tools such as ps and top are useful, but they rarely show the correct memory usage. The real memory usage is usually lower than what ps and top report. There are many technical reasons why this is so, but an explanation is beyond the scope of this page. We refer the interested reader to operating systems literature about virtual memory and copy-on-write. When you run this tool the Private or private dirty RSS field shows the real memory usage of processes. ENVIRONMENT VARIABLES
HTTPD The full filename to the Apache executable. By default, Passenger will attempt to autodetect the Apache executable. If autodetection fails for whatever reason, then Apache processes will not be shown in the memory statistics. In that case, you may manually specify the location to the Apache executable using this environment variable. SEE ALSO
passenger-status(8), ps(1), top(1), User guide at http://www.modrails.com/documentation.html AUTHOR
Phusion Passenger is written by Phusion (http://www.phusion.nl) "Phusion" and "Phusion Passenger" are trademarks of Hongli Lai & Ninh Bui. This manual page was written by Neil Wilson <neil@brightbox.co.uk> for the Ubuntu project (but may be used by others). Phusion Passenger 2.0 passenger-memory-stats(8)
All times are GMT -4. The time now is 08:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy