Jesse Guardiani <[EMAIL PROTECTED]> writes:

> During a recent programming/installation
> project, I found myself wanting to know
> the peak memory usage of a given command/process.
> 
> Is there any way to gather this information
> without recompiling an application with a
> sleep or wait statement at the (assumed)
> point of peak memory usage and then looking
> at the process with 'ps'?

Running under a debugger is one typical way of doing this.
For strictly malloc(3)'d memory, a memory profiler will be an easier
option.  If I remember correctly, there is a choice of them in the
ports system.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to