The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9 0ktalmagik Filesystems, Disks and Memory 2 07-21-2008 04:38 AM
c language + simple question regarding memory addresses and ASCII characters JamesGoh High Level Programming 7 01-30-2008 01:00 PM
Memory utilization question skotapal UNIX for Dummies Questions & Answers 1 06-29-2007 03:33 AM
how to round up a memory address(memory alignment problem) nj302 High Level Programming 6 09-21-2005 05:57 PM
Shared memory shortage but lots of unused memory cjcamaro UNIX for Advanced & Expert Users 1 10-13-2004 02:10 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-19-2007
Registered User
 

Join Date: Dec 2006
Posts: 58
memory question

Following is the result of commands vmstat and free, on a linux machine:

$ vmstat
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 40 207344 135724 3234048 0 0 1 1 5 4 0 0 100 0 0

$ free
total used free shared buffers cached
Mem: 4023072 3815500 207572 0 135724 3234048
-/+ buffers/cache: 445728 3577344
Swap: 2104472 40 2104432

My question is: I am not running any memory consuming programs, why 3.8G of the toal 4G memory is used right now? Is it going to run out of memory shortly? Thanks!
Reply With Quote
Forum Sponsor
  #2  
Old 02-19-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
As you can see, 3Gb of your memory is "cached" and will be released by the kernel if it's required.

Cheers
ZB
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:59 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0