From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 01:28:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F56F16A4CE for ; Mon, 8 Nov 2004 01:28:30 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF27F43D1D for ; Mon, 8 Nov 2004 01:28:26 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a146.otenet.gr [212.205.215.146]) iA81SNCO011479; Mon, 8 Nov 2004 03:28:24 +0200 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id iA81SHG5088297; Mon, 8 Nov 2004 03:28:18 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id iA81SHgs088296; Mon, 8 Nov 2004 03:28:17 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 8 Nov 2004 03:28:17 +0200 From: Giorgos Keramidas To: Josh Paetzel Message-ID: <20041108012817.GA86069@gothmog.gr> References: <200411071853.58119.josh@tcbug.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200411071853.58119.josh@tcbug.org> cc: freebsd-questions@freebsd.org Subject: Re: Top question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 01:28:30 -0000 On 2004-11-07 18:53, Josh Paetzel wrote: > The top manpage does not explain what the C field in top's output is > for. I assume it shows which CPU a process is running on...would be > nice to know for sure what it is though. > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND Your guess is right. The C column is only enabled on SMP machines, and it displays the last cpu this process has run on. This field is only shown by top(1) AFAICT and not by ps(1), so we should probably do two things: a. Update the top(1) manpage -- adding a description of what C displays b. Add a similar column to ps(1), so that top & ps output are as similar as possible. I'll see if I can update both during the following days :-)