From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <406d2ac0b820dad6cf1a37365c73b1fe.axp-list@archive.invalid> X-Archive-Original-Message-ID: <3.0.3.32.19971118231416.03207164@cyber1.servtech.com> Date: Tue, 18 Nov 1997 23:14:16 -0500 From: Jeremy Sieminski Subject: Unidentified subject! I have a UDB 166 with 96megs of ram and ~128megs of swap running RedHat 4.2. I often use a util called Top which basically displays some stats from /proc/meminfo, /proc/uptime, a ps, and a few other things... a very handy util if you haven't used it. Anyways, my question is why am I using so much ram? Below I have a screen capture of my stats sorted by memory usage and everything seems ok, but below that, I have another one where I am using practically all of my ram. Normal: 11:05pm up 2 days, 12:30, 1 user, load average: 0.13, 0.04, 0.01 30 processes: 29 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 3.1% user, 5.3% system, 8.3% nice, 91.7% idle Mem: 94152K av, 25424K used, 68728K free, 15592K shrd, 6696K buff Swap: 131344K av, 0K used, 131344K free 9344K cached PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND 7565 root 0 0 2272 2272 1384 S 1856 0.0 1.2 0:10 smbd 11986 root 0 0 1424 1424 912 S 1360 0.0 0.7 0:00 login 11987 root 1 0 1352 1352 1024 S 816 0.0 0.7 0:00 bash 217 root 0 0 1096 1096 848 S 832 0.0 0.5 0:00 smbd 11985 root 1 0 1040 1040 792 S 952 0.5 0.5 0:00 in.telnetd 163 root 0 0 1040 1040 704 S 920 0.0 0.5 0:25 snmpd 226 root 0 0 1040 1040 816 S 784 0.0 0.5 0:48 nmbd 12008 root 11 0 1016 1016 784 R 920 7.8 0.5 0:00 top 185 root 0 0 1008 1008 776 S 712 0.0 0.5 0:00 named 121 root 0 0 784 784 640 S 712 0.0 0.4 0:04 syslogd 141 root 0 0 744 744 616 S 688 0.0 0.3 0:21 crond 174 root 0 0 680 680 560 S 632 0.0 0.3 0:00 inetd 130 root 0 0 664 664 520 S 608 0.0 0.3 0:00 klogd 152 bin 0 0 656 656 528 S 600 0.0 0.3 0:00 portmap 22 root 0 0 632 632 512 S 592 0.0 0.3 0:00 kerneld 240 root 0 0 624 624 512 S 592 0.0 0.3 0:00 mingetty Abnormal: 1:17am up 1 day, 14:26, 1 user, load average: 0.00, 0.00, 0.00 30 processes: 29 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 0.7% user, 1.2% system, 1.8% nice, 98.1% idle Mem: 94152K av, 91904K used, 2248K free, 15584K shrd, 58440K buff Swap: 131344K av, 0K used, 131344K free 10752K cached PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND 2948 root 0 0 2264 2264 1376 S 1856 0.0 1.2 0:09 smbd 7913 root 0 0 1424 1424 912 S 1360 0.0 0.7 0:00 login 7914 root 1 0 1344 1344 1024 S 808 0.0 0.7 0:00 bash 219 root 0 0 1096 1096 848 S 832 0.0 0.5 0:00 smbd 165 root 0 0 1040 1040 704 S 920 0.0 0.5 0:17 snmpd 228 root 0 0 1040 1040 816 S 784 0.0 0.5 0:33 nmbd 7912 root 0 0 1040 1040 792 S 952 0.1 0.5 0:00 in.telnetd 7926 root 14 0 1016 1016 784 R 920 1.8 0.5 0:00 top 187 root 0 0 1008 1008 776 S 712 0.0 0.5 0:00 named 123 root 0 0 784 784 640 S 712 0.0 0.4 0:03 syslogd 143 root 0 0 744 744 616 S 688 0.0 0.3 0:14 crond 176 root 0 0 680 680 560 S 632 0.0 0.3 0:00 inetd 132 root 0 0 664 664 520 S 608 0.0 0.3 0:00 klogd 154 bin 0 0 656 656 528 S 600 0.0 0.3 0:00 portmap 23 root 0 0 632 632 512 S 592 0.0 0.3 0:00 kerneld 249 root 0 0 624 624 512 S 592 0.0 0.3 0:00 mingetty Now, you may have noticed how much is cached and buffered, but why? And does that mean that it is really in use or that I can use it? I have noticed this happening only recently, since I started running Samba. Thanks for any insight. -Jeremy Sieminski -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com