LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2003, 12:33 AM   #1
davalos
LQ Newbie
 
Registered: May 2003
Location: san jose
Distribution: redhat 9
Posts: 18

Rep: Reputation: 0
where's is all my memory going?


hey all,

I'm running top, and i noticed:
Mem: 513700k av, 496188k used, 17512k free

i'm assuming this is the memory on my box and how much of it is being used. if my math is correct i'm usingalmost all of my memory, and i don't know why.

here is output from top.
1455 root 15 0 98.6M 28M 2024 S 3.5 5.6 3:08 0 /usr/X11R6/bin/X :0 -auth /var/gdm/:0.Xauth vt7
633 davalos 15 0 28276 27M 15224 S 1.3 5.5 0:13 0 /usr/local/netscape/netscape-bin
1583 davalos 15 0 348 348 224 S 0.5 0.0 14:19 0 /usr/bin/autorun -l --interval=1000 --cdplayer=/us
1581 davalos 15 0 8136 7516 4824 S 0.3 1.4 0:04 0 kdeinit: kicker
1592 davalos 15 0 6280 5632 3208 R 0.3 1.0 3:00 0 kdeinit: konsole -session 11429fdca600010524558930
1577 davalos 15 0 5696 4448 3128 S 0.1 0.8 0:02 0 kdeinit: kwin
1 root 15 0 104 76 52 S 0.0 0.0 0:04 0 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
3 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kapmd
4 root 34 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd_CPU0
9 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
5 root 15 0 0 0 0 SW 0.0 0.0 0:02 0 kswapd
6 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand/DMA
7 root 15 0 0 0 0 SW 0.0 0.0 9:53 0 kscand/Normal
8 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand/HighMem
10 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kupdated
11 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 mdrecoveryd
15 root 15 0 0 0 0 SW 0.0 0.0 0:06 0 kjournald
73 root 23 0 0 0 0 SW 0.0 0.0 0:00 0 khubd
291 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 usb-storage-0
292 root 24 0 0 0 0 SW 0.0 0.0 0:00 0 scsi_eh_0
313 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kjournald
373 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 knodemgrd
652 root 15 0 200 160 120 S 0.0 0.0 0:00 0 syslogd -m 0
656 root 15 0 52 4 0 S 0.0 0.0 0:00 0 klogd -x
676 root 15 0 456 328 220 S 0.0 0.0 0:00 0 /usr/sbin/sshd
690 root 25 0 148 4 0 S 0.0 0.0 0:00 0 xinetd -stayalive -pidfile /var/run/xinetd.pid
706 root 15 0 92 56 36 S 0.0 0.0 0:00 0 gpm -t imps2 -m /dev/input/mice
715 root 15 0 156 132 84 S 0.0 0.0 0:00 0 crond
747 xfs 15 0 8620 6528 564 S 0.0 1.2 0:13 0 xfs -droppriv -daemon
766 root 15 0 108 96 52 S 0.0 0.0 0:00 0 rhnsd --interval 240
773 root 23 0 52 4 0 S 0.0 0.0 0:00 0 /sbin/mingetty tty1
774 root 23 0 52 4 0 S 0.0 0.0 0:00 0 /sbin/mingetty tty2
775 root 23 0 52 4 0 S 0.0 0.0 0:00 0 /sbin/mingetty tty3
776 root 23 0 52 4 0 S 0.0 0.0 0:00 0 /sbin/mingetty tty4
777 root 23 0 52 4 0 S 0.0 0.0 0:00 0 /sbin/mingetty tty5
778 root 23 0 52 4 0 S 0.0 0.0 0:00 0 /sbin/mingetty tty6
779 root 15 0 636 4 0 S 0.0 0.0 0:00 0 /usr/bin/gdm-binary -nodaemon
1102 davalos 15 0 968 244 104 S 0.0 0.0 0:00 0 oafd --ac-activate --ior-output-fd=10
1464 davalos 15 0 164 56 24 S 0.0 0.0 0:00 0 /bin/sh /usr/bin/startkde
1552 davalos 15 0 1768 764 532 S 0.0 0.1 0:00 0 kdeinit: dcopserver --nosid
1557 davalos 15 0 2880 1224 792 S 0.0 0.2 0:01 0 kdeinit: kded
1571 davalos 15 0 2744 2100 1448 S 0.0 0.4 0:03 0 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage
1573 davalos 15 0 3800 1620 1080 S 0.0 0.3 0:00 0 kdeinit: knotify
1574 davalos 15 0 68 36 20 S 0.0 0.0 0:00 0 kwrapper ksmserver
1576 davalos 15 0 3000 1324 948 S 0.0 0.2 0:00 0 kdeinit: ksmserver
1579 davalos 15 0 11564 10M 8788 R 0.0 2.0 0:03 0 kdeinit: kdesktop
1588 davalos 15 0 2496 1636 268 S 0.0 0.3 0:00 0 kdeinit: kwrited
1593 davalos 15 0 5528 4784 2228 S 0.0 0.9 0:01 0 kdeinit: konsole -session 11429fdca600010613336940
1596 davalos 24 0 324 324 0 S 0.0 0.0 0:00 0 /bin/bash
1602 davalos 23 0 328 328 0 S 0.0 0.0 0:00 0 /bin/bash
1604 davalos 15 0 340 340 0 S 0.0 0.0 0:00 0 bash
1614 davalos 15 0 1884 1884 276 R 0.0 0.3 0:01 0 /usr/bin/xmms --sm-client-id 11429fdca600010624843
1615 davalos 15 0 940 940 588 S 0.0 0.1 0:00 0 bash
1892 davalos 15 0 4712 4700 3060 S 0.0 0.9 0:12 0 gaim
1959 davalos 15 0 752 744 480 R 0.0 0.1 0:02 0 top
2854 root 15 0 788 788 128 S 0.0 0.1 0:00 0 /usr/local/apache/bin/httpd
2939 davalos 18 0 5548 4604 1424 S 0.0 0.8 0:00 0 /usr/bin/perl -w # -*- cperl -*- # /usr/bin/gnump
3096 root 15 0 4328 3932 1428 S 0.0 0.7 0:00 0 /usr/bin/perl /usr/local/sbin/streamingadminserver
3097 root 25 0 492 480 296 S 0.0 0.0 0:00 0 /usr/local/sbin/DarwinStreamingServer
624 davalos 15 0 4260 4260 3192 S 0.0 0.8 0:00 0 gkrellm
627 davalos 23 0 1128 1128 944 S 0.0 0.2 0:00 0 /bin/sh /usr/local/netscape/run-mozilla.sh /usr/lo

this is probably not a wise thing to do, but i'm trying to figure out why my memory is being used up.


i'm running RH9 on an athlon 2400 with 512MB DDR SDRAM


another thing i noticed was all there unusual processes running. such as some Bonobo-Moniker process that i wasn't able to find useful information about along with some wombat process. i don't know if it was wise, but i killed most of those processes. How unsafe is it to kill processes not started by root?

any ideas?
 
Old 09-18-2003, 12:56 AM   #2
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Hi,

Don't panic too much, do a 'cat /proc/meminfo ' from a command line. That will show you how much of your memory and swap file space is getting used.

Red Hat reserves a whole lot of the system memory, so in theory it is being used by the os, but is only reserved. The main thing is check your swap file space. Make sure that isn't getting eaten up.



>Craig
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tool to detect number of memory slots, memory module type, speed, and size stefanwolf Linux - Hardware 8 04-22-2013 09:48 AM
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 05:39 PM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 03:32 PM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 04:48 PM
RH 8.0 Mapping Virtual Memory to get access to VMIC Reflective Memory PCI card. Merlin53 Linux - Hardware 0 05-05-2003 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration