Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack (1) Thread Tools
  #1  
Old May 19th, 2008
bvijaycom's Avatar
bvijaycom Offline
Infrastructure Architect
 
Join Date: December 2007
Posts: 33
Memory usage in AIX 5.3

Dear All,

How to find out the memory usage in AIX 5.3.

I want to know which process is occupying how much memory. What is the command to achieve that?

bash-3.00# vmstat 5

System configuration: lcpu=2 mem=6144MB ent=1.00

kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------------------
r b avm fre re pi po fr sr cy in sy cs us sy id wa pc ec
4 0 1210606 323652 0 0 0 0 0 0 11 486 469 1 0 99 0 0.01 1.3
3 1 1210604 323654 0 0 0 0 0 0 25 392 468 0 1 98 1 0.01 1.4
2 0 1210604 323654 0 0 0 0 0 0 7 380 454 0 0 99 0 0.01 1.0
3 0 1210604 323654 0 0 0 0 0 0 10 372 436 0 0 99 0 0.01 1.0

From the above output how can we calculate free memory.

As per my understanding 323652 means 323 MB is the free memory right .Please correct me if I am wrong.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old May 19th, 2008
derek's Avatar
derek Offline
Junior Member
 
Join Date: September 2006
Posts: 12
Re: Memory usage in AIX 5.3

I'm not near an AIX box but have a look at the 'svmon' command

especially with the -P flag, pipe it to more and search for your process id#.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old May 19th, 2008
john.samons's Avatar
john.samons Offline
Meditating on the code...
 
Join Date: September 2007
Location: Johannesburg, South Africa
Posts: 95
Re: Memory usage in AIX 5.3

Look at the NMON toolset, I think it will provide you with quite a lot of overall info to your system....

nmon analyser -- A free tool to produce AIX performance reports
nmon performance: A free tool to analyze AIX and Linux performance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old May 19th, 2008
bvijaycom's Avatar
bvijaycom Offline
Infrastructure Architect
 
Join Date: December 2007
Posts: 33
Re: Memory usage in AIX 5.3

HI All,

Thanks for your reply.

Is there any command to see the top 10 process memory usage wise.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old May 19th, 2008
john.samons's Avatar
john.samons Offline
Meditating on the code...
 
Join Date: September 2007
Location: Johannesburg, South Africa
Posts: 95
Re: Memory usage in AIX 5.3

afaik, when using nmon, you can look at the top processes, and there is 6 different views.... i think one might give you that type of info....

else you'd have to work through the svmon command....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old May 20th, 2008
adeel123's Avatar
adeel123 Offline
Member
 
Join Date: February 2008
Posts: 30
Re: Memory usage in AIX 5.3

did u try topas command
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old May 20th, 2008
bvijaycom's Avatar
bvijaycom Offline
Infrastructure Architect
 
Join Date: December 2007
Posts: 33
Re: Memory usage in AIX 5.3

hi,

I have tried topas command.But i dont know how to dfind out what are the process are occufying memory in percentage basis.

Example.

If i want to know which processes are taking memory in that servers

process 1 - 1.8 GB memory using
Process 2 - 2 GB memory using
Process 3 - 780 MB memory using

How do we find out this..

Please help me on this ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old May 20th, 2008
john.samons's Avatar
john.samons Offline
Meditating on the code...
 
Join Date: September 2007
Location: Johannesburg, South Africa
Posts: 95
Re: Memory usage in AIX 5.3

afaik, there isn't such a command. If nmon's user friendly output doesn't help, you'll have to look into svmon. Read the man page, it will enlighten you....

Some svmon commands:

Lists top usage of memory segments:


# svmon -Sau


Memory stats for the top 10 processes:

# svmon -Pau 10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old May 20th, 2008
niella's Avatar
niella Offline
Junior Member
 
Join Date: July 2007
Posts: 3
Re: Memory usage in AIX 5.3

Hi John... imagine seeing a work colleague here!

The top ten memory consumers command you guys might want is:
svmon -Pt15 | perl -e 'while(<>){print if($.==2||$&&&!$s++);$.=0 if(/^-+$/)}'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old May 20th, 2008
john.samons's Avatar
john.samons Offline
Meditating on the code...
 
Join Date: September 2007
Location: Johannesburg, South Africa
Posts: 95
Re: Memory usage in AIX 5.3

Hi Niel, good to see you here!

Thanks for the cool perl code!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


LinkBacks (?)
LinkBack to this Thread: http://www.pseriestech.org/forum/aix-for-power-systems/memory-usage-in-aix-5-3-a-1848.html
Posted By For Type Date
ibm aix memory usage - HooSeek - recherche Web This thread Refback June 11th, 2008 03:47

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48