process memory peak recording
Lowell Gilbert
freebsd-questions-local at be-well.no-ip.com
Fri Sep 5 06:58:38 PDT 2003
Jesse Guardiani <jesse at wingnet.net> 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.
More information about the freebsd-questions
mailing list