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

Re: "top" to find out which process chews most memory (memory leakage?)



top is not a good too to show memory use for total free memory. Linux will
use all memmory for filesystem caching. It will put commonly used files in
RAM to offload on disk i/o

Run the following command

free -m

Look at the free column on the +/- buffers line for your true free ram minus
the RAM for disk caching

Mike

On Tue, Jul 22, 2008 at 6:08 AM, sunhux G <sunhux gmail com> wrote:

> Hi,
>
> Is there a way to run "top" such that it sorts by memory
> usage as "free -m" showed very little memory left (3.4Mb)
> ever since the outsourced developer installed Oracle sso.
>
> The following is the top output currently :
>
> top - 18:04:17 up 19 days, 5 min,  3 users,  load average: 0.27, 1.43, 2.03
> Tasks: 281 total,   1 running, 280 sleeping,   0 stopped,   0 zombie
> Cpu(s):  0.3% us,  2.1% sy,  0.0% ni, 97.5% id,  0.1% wa,  0.0% hi,  0.0%
> si
> Mem:   8308576k total,  8273688k used,    34888k free,    66240k buffers
> Swap:  8385888k total,   294672k used,  8091216k free,  6814264k cached
>
>  PID USER      PR  NI %CPU    TIME+  %MEM  VIRT  RES  SHR S COMMAND
>  8775 oracle    17   0    5  31:44.15  0.1 43472 6140 4328 S tnslsnr
> 12570 oracle    16   0    4 772:20.25  0.1  199m 6900 4180 S opmn
>  4961 root      16   0    0   0:00.18  0.0  2492 1128  780 R top
> 16500 oracle    16   0    0   0:10.72  0.2  606m  17m  15m S oracle
>    1 root      16   0    0   0:29.11  0.0  2136  504  432 S init
>    2 root      RT   0    0   3:20.59  0.0     0    0    0 S migration/0
>
> How would you approach it to find out if there's memory leakage?
>
>
> Thanks
> U
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

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