Sponsored Content
Operating Systems AIX AIX memory usage by processes Post 303025159 by Corona688 on Thursday 25th of October 2018 10:59:48 AM
Old 10-25-2018
Quote:
Originally Posted by dim
I am new in AIX, but what i understood for memory usage is that the system uses some, then the processes uses whatever they need and the rest memory will be used for filesystem. In case, there is need for more memory there will be used paging space, is this correct?
Most systems will give up cache before they start eating into swap space, so you are not at 0% RAM.

I think what might have happened is, at some point in the past, a process on system A grew very large, large enough to start using swap, then finished or died to give it up again.

Have you tried ps aux to list processes?
 

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

estimating memory usage by database processes

Hi Guys, I wonder what would be the best way to determine how much memory is in use on any given time by the database processes. I thought about using ipcs -m command but I wonder if there any better way to determine this. Thanks. Harby. (2 Replies)
Discussion started by: hariza
2 Replies

5. AIX

Memory usage on AIX

How to check the memory usage on AIX by various processes? (1 Reply)
Discussion started by: aajmani
1 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 5.3 Physical Memory usage

Hi, I have AIX 5.3TL8 two node cluster using HACMP and have 10g database using RAW devices. I am seeing gradual increase in comp% memory everyday and it reaches 100% and evicts the node, we had 4 evictions in 40days. I am pasting vmstat and vmo output, anyone seen this issue? ... (5 Replies)
Discussion started by: navin7386
5 Replies

8. 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

9. AIX

Identify All Processes memory and cpu usage.

Hi All, Anyone has script to monitor AIX total processes memory and cpu usage that contribute to the total memory and CPU utilize so far ? The purpose of this is to analyze process memory trend. Thanks. Best Regards, ckwan (2 Replies)
Discussion started by: ckwan
2 Replies

10. 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
memx(8) 						      System Manager's Manual							   memx(8)

Name
       memx - memory exerciser

Syntax
       /usr/field/memx [ -h ] [ -s ] [ -ofile ] [ -ti ] [ -mj ] [ -pk ]

Description
       The memory exerciser spawns processes to exercise memory by writing and reading three patterns: 1's and 0's, 0's and 1's, and a random pat-
       tern.

       You specify the number of processes to spawn and the size of memory to be tested by each process. The first  process  is  a  shared  memory
       exerciser, the remaining are standard memory exercisers. The exerciser will run until the process receives a or a kill -15 pid.

       A  logfile  is  made in for you to examine and then remove. If there are errors in the logfile, check the file, where the driver and kernel
       error messages are saved.

Options
       The options are:

       -h	 Print the help message for the command.

       -s	 Disable shared memory testing.

       -ofile	 Save diagnostic output in file.

       -ti	 Run time in minutes (i).  The default is to run until the process receives a or a kill -15 pid.

       -mj	 The memory size in bytes (j) to be tested by each spawned process.  Must be greater than 4095.  The default is (total-memory)/20.

       -pk	 The number of processes to spawn (k).	The default is 20.  The maximum is also 20.

Restrictions
       The exerciser is restricted by the size of swap space available.  The size of the swap space and the size of internal memory available will
       determine  how  many processes can run on the system.  For example, If there were 16Mbytes of swap space and 16Mbytes of memory, all of the
       swap space would be used if all 20 spawned memory exercisers were running.  In that event, no new processes would be able to run.  On  sys-
       tems  with  large amounts of memory and small swap space, you must restrict the number of memory exercisers and/or the size of memory being
       tested.

       If there is a need to run a system exerciser over an NFS link or on a diskless system there are some  restrictions.   For  exercisers  that
       need  to  write into a file system, such as the target file system must be writable by root.  Also the directory, in which any of the exer-
       cisers are executed, must be writable by root because temporary files are written into the current directory.   These  latter  restrictions
       are sometimes difficult to overcome because often NFS file systems are mounted in a way that prevents root from writing into them.  Some of
       the restrictions may be overcome by copying the exerciser to another directory and then executing it.

Examples
       The following example tests all of memory by running 20 spawned processes until a or kill -15 pid is received.
       % /usr/field/memx
       The following example runs 10 spawned processes, memory size 500,000 bytes, for 180 minutes in the background.
       % /usr/field/memx -t180 -m500000 -p10 &

See Also
       Guide to System Exercisers

																	   memx(8)
All times are GMT -4. The time now is 09:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy