In top, if you type in "u" it will prompt you for an account which you
can monitor the processes and mem. Of course, this will not work for
apps that are opened under different credentials.

On 7/4/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
> 
>         How can I track where/who is using the system memory?
> 
>         I have a 2GB (RAM) system running Freebsd 5.4, basically as a mail
> gateway.
> 
>         After a few hours up, TOP shows me about 300MB of free memory. No
> swap yet.
> 
>         But the sum of RSS column of "ps axum", gives me about 600MB used.
>         I know that kernel allocated memory doesn´t show in ps, but I
> think it´s not using 1.4GB.
> 
>         The head of top is like this:
> 
> last pid:  7323;  load averages:  1.49,  1.11,  1.30  up 4+05:57:30  19:01:05
> 184 processes: 1 running, 183 sleeping
> CPU states: 16.7% user,  0.0% nice,  3.5% system,  0.6% interrupt, 79.3% idle
> Mem: 333M Active, 1218M Inact, 157M Wired, 42M Cache, 112M Buf, 256M Free
> Swap: 8192M Total, 8192M Free
> 
>         Also, why there is a difference between free memory reported by
> top and vmstat?
> 
>         Could it have some memory leak? Is there any report of it in
> freebsd 5.x?
> 
> Thank you,
> 
> - Marcelo
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to