AIX swap space, physical memory & cache


 
Thread Tools Search this Thread
Operating Systems AIX AIX swap space, physical memory & cache
# 1  
Old 07-23-2014
AIX swap space, physical memory & cache

Hi,

I am new to AIX, Can someone please help me how to know the swap space, total physical memory and system cache?

We are using AIX 5.3.

Thanks!
# 2  
Old 07-23-2014
Quote:
Originally Posted by Phaneendra G
Hi,

I am new to AIX, Can someone please help me how to know the swap space, total physical memory and system cache?

We are using AIX 5.3.

Thanks!

For Memory and swap, run svmon -G -O unit=MB
# 3  
Old 07-23-2014
Quote:
Originally Posted by Phaneendra G
I am new to AIX, Can someone please help me how to know the swap space, total physical memory and system cache?
man pages will tell you that - the commands necessary to find it out, that is.

Code:
man -k paging

for instance, will list the following:

Code:
# man -k paging
chps(1) - Changes theattributes of a paging space.
lsps(1) - Displays thecharacteristics of a paging space.
mkps(1) - Adds an additionalpaging space.
rmps(1) - Removes aninactive paging space.
swap(1) - Provides a paging space administrativeinterface.
swapoff(1)      - Deactivates one or more pagingspaces.
swapon(1)       - Activates apaging space.

Now try man lsps and you will soon be guided to lsps -a, which displays everything you probably want to know about your swap(s):

Code:
# lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active Auto  Type Chksum
hd6             hdisk0            rootvg       16384MB     1   yes   yes    lv     0

To get the attributes of a device - like the memory - you sue the "lsattr" utility in AIX. Here is one of my systems (AME factor 1.2):

Code:
# lsattr -El mem0
ent_mem_cap         I/O memory entitlement in Kbytes           False
goodsize       3328 Amount of usable physical memory in Mbytes False
mem_exp_factor 1.20 Memory expansion factor                    False
size           3328 Total amount of physical memory in Mbytes  False
var_mem_weight      Variable memory capacity weight            False

What you do mean with "system cache" is not clear. If you want to know the current amount of memory dedicated to the file cache issue vmstat -v and look for the "numperm" value. This is the percentage of real memory used for file caching right now. The value may change any time.

If you want to use more about how and why this value changes i suggest you search this forum for "memory utilization", but i can wholeheartedly suggest this thread as a starter. If you have specific questions, just check back.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 4  
Old 07-23-2014
Thanks much!! It worked for me :-)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Memory & Swap utilization

Hi All, We have a sparc server for which we always recieve memory utilization alerts. (97.01% available memory used by the partition (/MEMORY/MEMORY/MEMUsedMemPerc)). But when we check the server using prstat and vmstat the meory utilization is normal and swap space utilization is also normal.... (1 Reply)
Discussion started by: Rockyc3400
1 Replies

2. AIX

AIX Memory & DISK IO

I am constantly getting request to run reports on our AIX server for system health (cpu, io, memory, etc) when users experience performance issues. We are using SolarWinds to monitor system health and it works great for cpu and disk space; however, I cant seem to get memory and io to work... (5 Replies)
Discussion started by: gmendiola
5 Replies

3. UNIX for Advanced & Expert Users

release fre swap memory on AIX

Hello, How is it possible to free swap memory on AIX. when i do vmstat on machine i can see less than 1 Gb "fre" when usually I have around 5 GB. I dont wont to reboot the server. any idea? Thanks. (3 Replies)
Discussion started by: LiorAmitai
3 Replies

4. Solaris

No Space Left - Memory/Swap issue

:wall:I'm having a bit of a problem with Solaris 10u8 and one of our applications requesting memory and being told, "no space left". The break down: 24GB Physical Memory 8GB swap at the time of occurance, here's what a memory breakdown looks like: Page Summary Pages ... (21 Replies)
Discussion started by: aychbee45
21 Replies

5. AIX

AIX 6.1: Releasing Memory and Page Space

Hi everyone, i have a question about the Memory Management in AIX 6.1. I have - 128 GB RAM and - 70 GB Page Space. The application i am running on this machine is doing some operations in perl. These are done only once a day and uses both memory and paging space. My problem... (1 Reply)
Discussion started by: Haichao
1 Replies

6. UNIX for Advanced & Expert Users

linux memory buffers & cache usage

18:45:47 # free -m total used free shared buffers cached Mem: 96679 95909 770 0 1530 19550 -/+ buffers/cache: 74828 21851 Swap: 12287 652 11635 Hi all. The below output is from a RHEL 4.5... (0 Replies)
Discussion started by: drummerrob
0 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. UNIX for Advanced & Expert Users

Issue with insufficient swap or memory space

Hi, When I execute one of my shellscript I am getting the below mentioned error message .This application takes 2input files which have the records counts 26463 and 1178046 exec(2): insufficient swap or memory available. exec(2): insufficient swap or memory available. exec(2): insufficient swap... (3 Replies)
Discussion started by: kavithakuttyk
3 Replies

9. Shell Programming and Scripting

Issue with insufficient swap or memory space

Hi, When I execute one of my shellscript I am getting the below mentioned error message .This application takes 2input files which have the records counts 26463 and 1178046 exec(2): insufficient swap or memory available. exec(2): insufficient swap or memory available. exec(2):... (2 Replies)
Discussion started by: kavithakuttyk
2 Replies

10. HP-UX

swap space (lvol2) is not using when physical memory is 98% used

Dear all I have rp7620 sever with hp-ux 11.23 this swap space is not yet used when the physical memory usage of 98 %. through openview it's shows memory bottleneck . how to resolve the problem. Rajesh (1 Reply)
Discussion started by: rajeshtt32
1 Replies
Login or Register to Ask a Question