Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Apr 16, 2004 3:49 pm 
Offline
Junior Member

Joined: Wed Jan 14, 2004 9:55 am
Posts: 44
OK here is my free -m output.

Code:
             total       used       free     shared    buffers     cached
Mem:            89         73         15          0         12         23
-/+ buffers/cache:         38         51
Swap:          256         40        216


I have 2 questions:

1) Why does it show 89 for Mem? Is that an issue of 1024 to 1000 conversions?

2) Why am I using swap for so many things even though I have 15MB free physical memory?


Top
   
PostPosted: Fri Apr 16, 2004 4:12 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Crisis wrote:
1) Why does it show 89 for Mem? Is that an issue of 1024 to 1000 conversions?


That's the Linux kernel taking a little bit of memory for itself. Here's the output on a "real" box with 3072 megs of physical RAM:

Code:
[root@host4 vbin]# free -m
             total       used       free     shared    buffers     cached
Mem:          3037       3031          5          0         25       2784
-/+ buffers/cache:        221       2815
Swap:         4094        145       3949


Crisis wrote:
2) Why am I using swap for so many things even though I have 15MB free physical memory?

That's the linux VM system in effect -- it will utilize all of your available memory, including swapping things out that aren't used that often, to make room for buffers/cache.

-Chris


Top
   
 Post subject:
PostPosted: Fri Apr 16, 2004 4:40 pm 
Offline
Junior Member

Joined: Wed Jan 14, 2004 9:55 am
Posts: 44
Thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group