is this normal ? (on my debian)
hello LIST ! i was wondering, when i type free, system tells me its using 83MB of mem, but when i do a ps -auxf ... my memory usage doesnt even reach half that. there was even one time when it even reached to as high as 120 MB ... is this normal or can someone pls help and explain things to me ? thanks, mao here are my outputs : boomerang:~$ free total used free sharedbuffers cached Mem:127884 83696 44188 19864 50052 20984 -/+ buffers/cache: 12660 115224 Swap: 130748 0 130748 boomerang:~$ ps auxf USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND daemon 96 0.0 0.3 808 424 ? S Mar 20 0:00 /sbin/portmap daemon 143 0.0 0.3 848 448 ? S Mar 20 0:00 /usr/sbin/atd lp 125 0.0 0.6 1572 884 ? S Mar 20 0:00 lpd MAIN root 1 0.0 0.3 768 388 ? S Mar 20 0:03 init [2] root 2 0.0 0.0 0 0 ? SW Mar 20 0:00 (kflushd) root 3 0.0 0.0 0 0 ? SW Mar 20 0:00 (kswapd) root 4 0.0 0.0 0 0 ? SW Mar 20 0:00 (nfsiod) root 5 0.0 0.0 0 0 ? SW Mar 20 0:00 (nfsiod) root 6 0.0 0.0 0 0 ? SW Mar 20 0:00 (nfsiod) root 7 0.0 0.0 0 0 ? SW Mar 20 0:00 (nfsiod) root16 0.0 0.1 732 232 ? S Mar 20 0:00 update root84 0.0 0.4 900 524 ? S Mar 20 0:00 /sbin/syslogd root86 0.0 0.3 784 392 ? S Mar 20 0:00 /sbin/klogd root98 0.0 0.3 868 456 ? S Mar 20 0:00 /usr/sbin/inetd root 19565 0.0 0.5 1204 652 ? S10:20 0:00 \_ in.telnetd: 202.7 mao19566 0.0 0.9 1848 1180 p0 S10:20 0:00 \_ -bash mao19685 0.0 0.4 928 556 p0 R10:25 0:00 \_ ps auxf root 101 0.0 0.9 1584 1156 ? S Mar 20 0:00 /usr/sbin/named root 112 0.0 0.2 760 356 ? S Mar 20 0:00 /usr/sbin/gpm -m /dev root 118 0.0 0.4 952 540 ? S Mar 20 0:00 /usr/sbin/tcplogd root 120 0.0 0.3 868 488 ? S Mar 20 0:00 /usr/sbin/icmplogd root 140 0.0 0.3 908 444 ? S Mar 20 0:00 /usr/sbin/junkbuster root 146 0.0 0.3 860 500 ? S Mar 20 0:00 /usr/sbin/cron root 151 0.0 0.8 1804 1028 ? S Mar 20 0:00 /usr/sbin/apache www-data 10374 0.0 0.8 1840 1132 ? S06:42 0:00 \_ /usr/sbin/apache www-data 10375 0.0 0.8 1840 1132 ? S06:42 0:00 \_ /usr/sbin/apache www-data 10376 0.0 0.8 1840 1132 ? S06:42 0:00 \_ /usr/sbin/apache www-data 10377 0.0 0.8 1840 1136 ? S06:42 0:00 \_ /usr/sbin/apache www-data 10378 0.0 0.8 1840 1128 ? S06:42 0:00 \_ /usr/sbin/apache www-data 18732 0.0 0.8 1840 1128 ? S08:21 0:00 \_ /usr/sbin/apache www-data 18733 0.0 0.8 1840 1128 ? S08:21 0:00 \_ /usr/sbin/apache www-data 18935 0.0 0.8 1840 1132 ? S08:39 0:00 \_ /usr/sbin/apache root 158 0.0 0.3 844 428 2 S Mar 20 0:00 /sbin/getty 38400 tty root 159 0.0 0.3 844 428 3 S Mar 20 0:00 /sbin/getty 38400 tty root 160 0.0 0.3 844 428 4 S Mar 20 0:00 /sbin/getty 38400 tty root 161 0.0 0.3 844 428 5 S Mar 20 0:00 /sbin/getty 38400 tty root 162 0.0 0.3 844 428 6 S Mar 20 0:00 /sbin/getty 38400 tty root 177 0.0 0.3 844 428 1 S Mar 20 0:00 /sbin/getty 38400 tty root 18108 0.0 0.7 1004 936 ? S06:48 0:00 /usr/sbin/xntpd
Re: is this normal ? (on my debian)
On Sat, 20 Mar 1999, mao jud wrote: i was wondering, when i type free, system tells me its using 83MB of mem, but when i do a ps -auxf ... my memory usage doesnt even reach half that. there was even one time when it even reached to as high as 120 MB ... is this normal or can someone pls help and explain things to me ? Linux is using memory for disk buffers and other sorts of caching. Once the system has been up for a while it will probably use quite a bit of memory all the time; there's no point in looking at the total figures really. Memory will be freed up as needed, since applications have priority. Havoc