[CLUE-Tech] memory leak

Dave Anselmi anselmi at americanisp.net
Mon Jan 14 10:25:41 MST 2002


Ed Hill wrote:

[...]


> If you'd like to check if an individual process is leaking memory, you
> can monitor it (to some extent) with /usr/sbin/lsof.

Try using the free command:

$ free
             total       used       free     shared    buffers     cached
Mem:        906340     432624     473716      54772     272160      97304
-/+ buffers/cache:      63160     843180
Swap:       265032       6380     258652

That tells me that in reality I have 63M used and 843M free. The rest of the
432M used is devoted to cached data.

The spot that says 63160 above is what you think of as 'used' memory.  If that number
climbs over time, then perhaps you have something to investigate.

Dave





More information about the clue-tech mailing list