From owner-freebsd-doc@FreeBSD.ORG Fri Jun 30 05:20:18 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org 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 C55CA16A415 for ; Fri, 30 Jun 2006 05:20:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C39A43D53 for ; Fri, 30 Jun 2006 05:20:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5U5KITo029075 for ; Fri, 30 Jun 2006 05:20:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5U5KIdK029074; Fri, 30 Jun 2006 05:20:18 GMT (envelope-from gnats) Resent-Date: Fri, 30 Jun 2006 05:20:18 GMT Resent-Message-Id: <200606300520.k5U5KIdK029074@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Cheng-Lung Sung Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AA4116A412 for ; Fri, 30 Jun 2006 05:17:26 +0000 (UTC) (envelope-from clsung@going04.iis.sinica.edu.tw) Received: from going04.iis.sinica.edu.tw (going04.iis.sinica.edu.tw [140.109.19.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF13F43D48 for ; Fri, 30 Jun 2006 05:17:25 +0000 (GMT) (envelope-from clsung@going04.iis.sinica.edu.tw) Received: by going04.iis.sinica.edu.tw (Postfix, from userid 1002) id 5A1F22844B; Fri, 30 Jun 2006 13:19:25 +0800 (CST) Message-Id: <20060630051925.5A1F22844B@going04.iis.sinica.edu.tw> Date: Fri, 30 Jun 2006 13:19:25 +0800 (CST) From: Cheng-Lung Sung To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/99631: [patch] document jid option in top(1) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Cheng-Lung Sung List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 05:20:18 -0000 >Number: 99631 >Category: docs >Synopsis: [patch] document jid option in top(1) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 30 05:20:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 6.1-STABLE i386 >Organization: committer idling >Environment: System: FreeBSD going04.iis.sinica.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #20: Tue Jun 6 10:27:46 CST 2006 root@going04.iis.sinica.edu.tw:/usr/obj/usr/src/sys/GOING04 i386 >Description: document my jid patch for top(1). ref: bin/98489 >How-To-Repeat: % man top >Fix: --- top.X.orig Wed Jun 28 08:57:54 2006 +++ top.X Fri Jun 30 13:15:10 2006 @@ -96,6 +96,11 @@ Do not display idle processes. By default, top displays both active and idle processes. .TP +.B \-j +Display the +.IR jail (8) +id. +.TP .B \-t Do not display the .I top @@ -170,7 +175,8 @@ The default for .I count on an intelligent terminal is, in fact, -.BI infinity . +.BI infinity +. .PP The environment variable .B TOP @@ -221,7 +227,8 @@ .TP .B q Quit -.IR top. +.IR top +. .TP .B d Change the number of displays to show (prompt for new number). @@ -277,6 +284,11 @@ .BR I ) Toggle the display of idle processes. .TP +.B j +Toggle the display of +.IR jail (8) +id. +.TP .B t Toggle the display of the .I top @@ -302,8 +314,11 @@ The remainder of the screen displays information about individual processes. This display is similar in spirit to .IR ps (1) -but it is not exactly the same. PID is the process id, USERNAME is the name -of the process's owner (if +but it is not exactly the same. PID is the process id, +JID, when displayed, is the +.IR jail (8) +ID corresponding to the process, +USERNAME is the name of the process's owner (if .B \-u is specified, a UID column will be substituted for USERNAME), PRI is the current priority of the process, >Release-Note: >Audit-Trail: >Unformatted: