From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3628fecd0ac5e5b272aee1f641fad536.axp-list@archive.invalid> X-Archive-Original-Message-ID: <3.0.3.32.19971118231416.03207164@cyber1.servtech.com> Date: Tue, 18 Nov 1997 20:29:51 -0800 (PST) From: Murray Stokely Subject: Re: Unidentified subject! In-Reply-To: <3.0.3.32.19971118231416.03207164@cyber1.servtech.com> On Tue, 18 Nov 1997, Jeremy Sieminski wrote: % 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 I think a lot of people, including myself, use that "handy little util" about as much as 'ls'.. it's often the first command I type on a new system ;) The Linux top is actually missing some rather cool features found in FreeBSD, etc.. That said, you might want to look at 'vmstat' it seems to be better suited for what you're trying to diagnose anyway. % 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 % % 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 % % 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. What happens if you load up Netscape or some other memory intensive apps? The Samba cache should get out of way in favor of real applications. If it doesn't, and stuff starts swapping, then you've got a problem. Murray Stokely -- 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