login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
22
Re: Question about free/used memory on Linux
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Pádraig Brady <P@...>
To: Ravinandan Arakali (rarakali) <rarakali@...>
Cc: Linux Kernel <linux-kernel@...>
Subject:
Re: Question about free/used memory on Linux
Date: Monday, October 22, 2007 - 6:05 am
Ravinandan Arakali (rarakali) wrote:
quoted text
> Hi kernel gurus, > I am trying to find out the memory that's used on my linux box. > I find that there are quite a few confusing metrics. How do > I find out the "true" used memory ? > > 1. For eg. "free -m" shows free memory (excluding buffers/caches) > as 308 MB while I can see(from "df" output) that the the tmpfs > partitions take up about 400 MB. So, does "free -m" not consider > the tmpfs partitions ? > > 2. I try to add up RSS field of all processes reported by > "ps aux" command. But is it true that this would be misleading > in that, shared memory used by, say 2 processes would show > up twice here although there's only one copy in memory. Also > does this consider the fact that there's only one copy > of shared libraries ?
Have a look at this script so show RAM used by programs:
http://www.pixelbeat.org/scripts/ps_mem.py
Note to display totals you will need this patch applied:
http://lkml.org/lkml/2007/8/13/1224
Pádraig. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Question about free/used memory on Linux
, Ravinandan Arakali (rarakali)...
, (Sun Oct 21, 1:54 pm)
Re: Question about free/used memory on Linux
, Pádraig Brady
, (Mon Oct 22, 6:05 am)
RE: Question about free/used memory on Linux
, Ravinandan Arakali (rarakali)...
, (Mon Oct 22, 9:58 pm)
Re: Question about free/used memory on Linux
, Vaidyanathan Srinivasan
, (Sun Oct 21, 3:00 pm)
RE: Question about free/used memory on Linux
, Ravinandan Arakali (rarakali)...
, (Sun Oct 21, 4:21 pm)
RE: Question about free/used memory on Linux
, linux-os (Dick Johnson)
, (Mon Oct 22, 1:34 pm)
Re: Question about free/used memory on Linux
, Helge Hafting
, (Mon Oct 22, 7:51 am)
Re: Question about free/used memory on Linux
, Vaidyanathan Srinivasan
, (Mon Oct 22, 1:50 am)
RE: Question about free/used memory on Linux
, Ravinandan Arakali (rarakali)...
, (Wed Nov 14, 2:14 am)
Re: Question about free/used memory on Linux
, Pádraig Brady
, (Wed Nov 14, 7:58 am)
RE: Question about free/used memory on Linux
, Ravinandan Arakali (rarakali)...
, (Wed Nov 14, 2:18 pm)
RE: Question about free/used memory on Linux
, Ravinandan Arakali (rarakali)...
, (Mon Oct 22, 2:28 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Eric Sandeen
Re: [RFC] Heads up on sys_fallocate()
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 007/196] Chinese: add translation of stable_kernel_rules.txt
Andrew Morton
-mm merge plans for 2.6.23
git
:
linux-netdev
:
David Miller
Re: [GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
860 guests
online.
Online users
strcmp
Syndicate