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:16 AM
"sunhux G"
 
Default "top" to find out which process chews most memory (memory leakage?)

Since I suspect oracle sso processes (owned by oracle) is
the culprit of chewing up memory, I issued "top -u oracle"
but under % mem column, none of them chewed a lot :


Mem: 8308576k total, 8232456k used, 76120k free, 28244k buffers
Swap: 8385888k total, 294712k used, 8091176k free, 6820996k cached

PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
12570 oracle 16 0 15 772:44.56 0.1 199m 6900 4180 S opmn
8775 oracle 16 0 13 32:12.00 0.1 43472 6140 4328 S tnslsnr
18510 oracle 19 0 1 0:00.02 0.3 348m 21m 20m S oracle
16500 oracle 16 0 0 0:10.90 0.2 606m 17m 15m S oracle
22836 oracle 16 0 0 0:10.85 0.2 608m 17m 15m S oracle
427 oracle 16 0 0 0:00.42 0.3 607m 26m 24m S oracle
2472 oracle 16 0 0 0:00.01 0.2 606m 13m 11m S oracle
2602 oracle 15 0 0 5:19.40 0.7 348m 60m 58m S oracle
3109 oracle 16 0 0 0:00.02 0.2 606m 18m 16m S oracle
4248 oracle 16 0 0 0:00.01 0.2 606m 13m 11m S oracle
5106 oracle 17 0 0 0:02.76 0.5 357m 37m 14m S emagent
6096 oracle 16 0 0 0:00.20 0.1 20960 9728 6780 S gnome-session
6124 oracle 16 0 0 0:00.01 0.0 4884 644 404 S ssh-agent
6151 oracle 16 0 0 0:00.00 0.0 4328 516 404 S dbus-launch
6152 oracle 15 0 0 0:00.00 0.0 14392 1108 944 S dbus-daemon-1
6157 oracle 16 0 0 0:00.75 0.1 11576 7548 1660 S gconfd-2
6162 oracle 18 0 0 0:00.00 0.0 3156 552 460 S gnome-keyring-d
6164 oracle 16 0 0 0:00.07 0.0 7732 2556 1976 S bonobo-activati
6166 oracle 15 0 0 0:00.07 0.1 18704 6764 5696 S gnome-settings-
6172 oracle 15 0 0 42:14.20 0.7 57696 54m 856 S gam_server
6181 oracle 15 0 0 0:00.49 0.0 4592 2136 1608 S xscreensaver
6193 oracle 17 0 0 0:00.03 0.3 349m 22m 19m S oracle
6207 oracle 16 0 0 0:01.51 0.1 14008 7368 6132 S metacity
6209 oracle 16 0 0 23:36.86 4.4 396m 357m 8160 S gnome-panel
6211 oracle 16 0 0 0:00.05 0.1 19976 6164 5340 S gnome-volume-ma
6213 oracle 16 0 0 0:01.19 0.2 40744 15m 9876 S nautilus
6215 oracle 16 0 0 0:00.13 0.1 40352 7252 6232 S eggcups
6217 oracle 16 0 0 0:00.20 0.1 12324 4196 3592 S pam-panel-icon
6219 oracle 25 10 0 13:46.11 0.2 30036 16m 9864 S rhn-applet-gui
6225 oracle 16 0 0 0:00.01 0.0 21372 3520 2960 S gnome-vfs-daemo
6236 oracle 16 0 0 0:00.05 0.0 2212 692 620 S mapping-daemon
6238 oracle 16 0 0 0:01.67 0.1 22064 9.8m 7552 S wnck-applet
6240 oracle 15 0 0 0:01.01 0.1 21816 9428 7128 S mixer_applet2
6242 oracle 16 0 0 0:00.29 0.1 20852 7904 6648 S clock-applet
6244 oracle 15 0 0 0:00.03 0.1 18888 6644 5680 S notification-ar
6246 oracle 15 0 0 0:04.67 0.2 41480 16m 8424 S gnome-terminal
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-22-2008, 10:18 AM
"Mike Zupan"
 
Default "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
 

Thread Tools




All times are GMT. The time now is 07:25 AM.

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