From owner-freebsd-questions@FreeBSD.ORG Tue Nov 3 17:23:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6124106568F for ; Tue, 3 Nov 2009 17:23:53 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 40BBA8FC0A for ; Tue, 3 Nov 2009 17:23:52 +0000 (UTC) Received: by bwz5 with SMTP id 5so8027552bwz.3 for ; Tue, 03 Nov 2009 09:23:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=b+mNlRpEq08TC/kSGdJCd3tbPx5neisCOoKR6Q6Gopk=; b=l+06NTzgFy/hpN3KZyyDC85hb8pu7OWYLY+pV1TK6oBzEQV0ZcsVnsqSY5WpePt8WJ y+2gKG3brxdMVTEAqj9rigmnj2VvgY22wjQzB2LouGvesBJvq0Mrrhl8XDxn0rElqW3k BeEnja7MyCUQGX3MiEAcCu1qcpRWR9Bsqvcqk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=A/xMrJSFI2rKE2T4Y0iGIZRqLFNOntr2Q8wgvwTdIQvAhUSKlIpwVD7sLC9K7BSFb+ oepg5wFAG/KD+bGGgt7ShqgC/5AD4aAoF47dmP4lRrffMPM7/qFHnstjzQ2kVD8wqb8m hRyq56Q85eWlutbOqOGO7fLIlkUVTN55HTXYo= MIME-Version: 1.0 Received: by 10.204.34.20 with SMTP id j20mr273975bkd.57.1257269031351; Tue, 03 Nov 2009 09:23:51 -0800 (PST) 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> From: Chris Rees Date: Tue, 3 Nov 2009 17:23:31 +0000 Message-ID: To: Chris Stankevitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Dan Nelson , "freebsd-questions@freebsd.org" Subject: Re: please help me make sense of top's CPU output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 17:23:53 -0000 2009/11/3 Chris Stankevitz : > 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?