Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2009 17:23:31 +0000
From:      Chris Rees <utisoft@googlemail.com>
To:        Chris Stankevitz <cstankevitz@toyon.com>
Cc:        Dan Nelson <dnelson@allantgroup.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: please help me make sense of top's CPU output
Message-ID:  <b79ecaef0911030923w13215c1eqd451087bb11841f4@mail.gmail.com>
In-Reply-To: <4AF064B5.6050008@toyon.com>
References:  <330157.31913.qm@web52911.mail.re2.yahoo.com> <20091102213432.GY29215@dan.emsphone.com>  <4AF064B5.6050008@toyon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/11/3 Chris Stankevitz <cstankevitz@toyon.com>:
> Dan Nelson wrote:
>>
>> Junior Hacker Project: add an instantaneous-CPU value (calculated by
>> subtracting successive ki_runtime values) to the list of things top
>> calculates and toggle it and weighted-CPU when pressing C. =A0The toggli=
ng
>> code is already there; it just toggles between two different weighted-cp=
u
>> values at the moment.
>>
>
> Makes sense, thank you. =A0If I want to hack a port program, I go to the
> "work" directory, edit the source, and rebuild. =A0How do I hack a non-po=
rt
> program like top?
>
> Chris

Look in the Makefile for /usr/src/usr.bin/top, and you'll see the
source is in /usr/src/contrib/top

Hack away!

Chris
--=20
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b79ecaef0911030923w13215c1eqd451087bb11841f4>