From owner-freebsd-doc@FreeBSD.ORG Wed Jul 16 01:00:34 2003 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 860BF37B401 for ; Wed, 16 Jul 2003 01:00:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6B8D43F93 for ; Wed, 16 Jul 2003 01:00:33 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6G80XUp069958 for ; Wed, 16 Jul 2003 01:00:33 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6G80X4U069957; Wed, 16 Jul 2003 01:00:33 -0700 (PDT) Date: Wed, 16 Jul 2003 01:00:33 -0700 (PDT) Message-Id: <200307160800.h6G80X4U069957@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Pawel Worach Subject: Re: docs/29245: top(1) manpage doesn't understand SMP X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pawel Worach List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 08:00:34 -0000 The following reply was made to PR docs/29245; it has been noted by GNATS. From: Pawel Worach To: freebsd-gnats-submit@FreeBSD.org, ada@bsd.org Cc: Subject: Re: docs/29245: top(1) manpage doesn't understand SMP Date: Wed, 16 Jul 2003 09:57:28 +0200 Something like this? C could also be the "processor number on which the process last executed". STATE is a merge of info from top/machine.c and ps(1) ps. my first mdoc hack, so please be nice :) --- src/contrib/top/top.X.old Thu Jan 24 18:54:04 2002 +++ src/contrib/top/top.X Wed Jul 16 09:49:56 2003 @@ -288,8 +288,12 @@ SIZE is the total size of the process (text, data, and stack), RES is the current amount of resident memory (both SIZE and RES are given in kilobytes), -STATE is the current state (one of \*(lqsleep\*(rq, \*(lqWAIT\*(rq, -\*(lqrun\*(rq, \*(lqidl\*(rq, \*(lqzomb\*(rq, or \*(lqstop\*(rq), +STATE is the current state (one of \*(lqSTART\*(rq, \*(lqRUN\*(rq +(shown as \*(lqCPUn\*(rq on SMP systems), \*(lqSLEEP\*(rq, \*(lqSTOP\*(rq, +\*(lqZOMB\*(rq, \*(lqWAIT\*(rq, \*(lqLOCK\*(rq or the event on which the +process waits), +C is the processor number on which the process is executing (only on SMP +systems), TIME is the number of system and user cpu seconds that the process has used, WCPU, when displayed, is the weighted cpu percentage (this is the same value that