On 22 Jan 2002 at 12:15, naveen_dhankhar wrote:

> Hi,
>       I have a little query regarding % Memory used 
> When I type top command it is showing % Mem used by 
>varios process instance and if I tried to calculate the total Mem used then it 
>goes more than 100% 

This is because on linux, memory is shared as far as possible. Code of 
executables is shared between instances of that processes. Even if a process 
needs it's own copy of some memory and it's shared, a separate copy is not made 
until process actually writes to that memory location. that's called as copy on 
write scheme.

For accurate statistics use free. However it's won't tell you memory usage 
process by process. It's quite difficult to produce such a statistic.

 Shridhar

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to