LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
LinkBack Search this Thread
Old 11-20-2011, 11:45 PM   #1
tyl90
LQ Newbie
 
Registered: Aug 2011
Posts: 6

Rep: Reputation: Disabled
RAM free


hj all,
i executed the vmstat commandline,

i get:
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 31188 35236 53136 906604 0 0 146 48 1015 881 1 2 95 2 0


so can anyone for me know how calculate RAM free( output Megabyte)?
 
Old 11-21-2011, 04:49 PM   #2
corp769
Guru
 
Registered: Apr 2005
Location: /proc/self/
Distribution: Custom version of Fedora 16, 64 bit, custom 3.2.7 kernel
Posts: 5,647
Blog Entries: 9

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
You can use the "free" command, like so:
Code:
free -m
Read the man page about it to learn more.

Cheers,

Josh
 
Old 01-30-2012, 05:58 AM   #3
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 356

Rep: Reputation: 31
Hi, I notice this was posted in the AIX forum. The free command unfortunately doesn't come installed on AIX.

Install/use nmon and press 'm' for memory, output on the left hand side will look like the below example,

Physical
│% Used 86.1%
│% Free 13.9%
│MB Used 7057.4MB
│MB Free 1134.6MB
│Total(MB) 8192.0MB

On the right hand side you will see something like below,

| FileSystemCache
| (numperm) 42.8%
| Process 20.7%
| System 22.7%
| Free 13.9%
| Total 100.0%

So in this example, there is 8192MB RAM assigned to the lpar and 7057MB is used. Of the 7057MB used, 42.8% (numperm%) of that is actually filesystem cache (buffer) so a large portion of this technically can also be used if a process needs it.

The topas command will also give this output as well as commands like vmstat -v and svmon -G.

Hope that helps.

G
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get all free ram space? hrh Linux - Software 10 08-27-2008 08:45 PM
free ram tallman19 Linux - Desktop 1 12-08-2006 12:02 AM
free ram tallman19 Suse/Novell 3 12-07-2006 11:13 AM
No free RAM... GiantDragon Suse/Novell 3 05-13-2006 02:47 PM
Any way to free up RAM? Kramer Linux - General 8 08-28-2004 09:06 AM


All times are GMT -5. The time now is 07:05 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration