FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 07-22-2008, 10:23 AM
 
Default "top" to find out which process chews most memory (memoryleakage?)

Look into sysstat as well.
Will give a snapshot every n seconds

Sent via BlackBerry from T-Mobile

-----Original Message-----
From: "Mike Zupan" <hijinks@gmail.com>

Date: Tue, 22 Jul 2008 06:18:37
To: General Red Hat Linux discussion list<redhat-list@redhat.com>
Subject: 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
>
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 01:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org