LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-11-2010, 12:42 PM   #1
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS 5/6
Posts: 186

Rep: Reputation: 6
New to Red Hat on VMWare have a memory question


Being new to a RedHat machine running on VMWare. I have a question. Maybe a silly question but I have never seen this before. Maybe my new job the server load is greater than I have seen in the past.

Here is the output from top:

Tasks: 7782 total, 1 running, 7781 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.9%us, 1.2%sy, 0.0%ni, 95.9%id, 0.8%wa, 0.2%hi, 0.2%si, 0.0%st
Mem: 32829000k total, 32599560k used, 229440k free, 93288k buffers
Swap: 50331636k total, 152k used, 50331484k free, 13798952k cached

Is it normal for the memory 95% used as long as the swap stays low?

System is Red Hat Enterprise Linux Server release 5.5 (Tikanga)
 
Old 11-11-2010, 01:56 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

You've actually got about 14GB free.

Run 'free' and check the '-/+ buffers/cache' line.

Dave
 
Old 11-11-2010, 03:05 PM   #3
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS 5/6
Posts: 186

Original Poster
Rep: Reputation: 6
total used free shared buffers cached
Mem: 32829000 32667484 161516 0 84192 14385576
-/+ buffers/cache: 18197716 14631284
Swap: 50331636 152 50331484

I see that I have 14GB free. Maybe I don't understand the Mem: line then.
total used free shared buffers cached
Mem: 32829000 32667484 161516 0 84192 14385576

It only has 161516 free. Please explain this?
 
Old 11-11-2010, 03:20 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,137

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Have a look at this
 
Old 11-11-2010, 03:22 PM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi again.

Linux aggressively caches filesystem data - data which can immediately be dropped if it's needed by applications. The mem line shows the memory in-use including that cache data (which is really available), and the -/+ buffers/cache line shows the memory in-use when the caches are taken into account.

Ignore the mem line, just look at the -/+ buffers/cache line.

Dave
 
Old 11-11-2010, 04:30 PM   #6
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS 5/6
Posts: 186

Original Poster
Rep: Reputation: 6
Thank you all for your prompt answers. They were very helpful.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vmware+red Hat dimitri358 Linux - Software 2 03-24-2004 10:35 AM
Red Hat 9 to Red Hat EL Mozilla Migration Question rharvey@cox Linux - Software 2 01-13-2004 06:43 PM
VMware 4 and Red Hat 9.0 regorbro Linux - Software 10 08-19-2003 05:06 AM
VMware under Red hat 9.0 regorbro Linux - Software 6 06-29-2003 08:41 PM
VMWare and Red Hat 8 GhouL Linux - Distributions 11 03-31-2003 06:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration