[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Best method or tool for determining application memory usage?

On Mon, 2007-08-20 at 18:20 -0400, icelinux@icelinux.net wrote:
>   What is the best method or best tool to determine the memory usage  
> of an application? I have been gathering rough estimates from top.

"ps -C $command v" will give you a snapshot for the given command.

For X clients, you also need to use "xrestop" to find out about memory
used by the X server on the client's behalf.  Unfortunately clients
don't really have names so it appears to make a best effort using a
mixture of window titles and process names.


Ben Hutchings
Humans are not rational beings; they are rationalising beings.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: