Subject: Re: change to top (or top change 8)
To: Chris Gilbert <chris@dokein.co.uk>
From: Sean Davis <dive-spam@endersgame.net>
List: tech-userlevel
Date: 02/24/2003 20:31:00
On Tue, Feb 25, 2003 at 01:05:19AM +0000, Chris Gilbert wrote:
> Hi,
>
> Would people be interested in me applying the attached diff to give more
> detail on the memory usage in top, or rather it's more explicit, with
> the Memory line now adding up to the total amount of available memory,
> and the memory usage saying how much is used for what, my top now shows
> output such as:
>
> load averages: 0.39, 0.38, 0.36
> 00:59:01
> 79 processes: 1 runnable, 77 sleeping, 1 on processor
> CPU states: 5.9% user, 0.0% nice, 4.4% system, 0.0% interrupt, 89.7%
> idle
> Memory: 121M Act, 50M Inact, 1184K Wired, 14M Free
> Memory usage: 86M Anon, 31M Exec, 68M File, 24K Rsvd
> Swap: 641M Total, 181M Used, 461M Free
>
> PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU
> COMMAND
I like it. I have a 'uvminfo' program I wrote a while back to display pretty
much the same info that you propose having show up in top, I would rather it be
in top than I have to use my own utility (which, due to laziness, only shows
page counts, not actual amounts)
-Sean
--
/~\ The ASCII
\ / Ribbon Campaign Sean Davis
X Against HTML aka dive
/ \ Email!