Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 14:30:11 +0200 (CEST)
From:      Frederic Culot <frederic@culot.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/150992: top(1): mention 'jid' as a possible sort order
Message-ID:  <201009271230.o8RCUBEA015448@0xd0.org>
Resent-Message-ID: <201009271240.o8RCe1ZY022113@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150992
>Category:       bin
>Synopsis:       top(1): mention 'jid' as a possible sort order
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 27 12:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Frederic Culot
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD 0xd0.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Sorting by jail ID is supported by top(1) but not mentioned when user
presses '?' to obtain online help screen.
The attached patch adds the 'jid' possible sort order to this help screen.
>How-To-Repeat:
>Fix:
--- /usr/src/contrib/top/commands.c.bak	2010-09-27 14:14:55.000000000 +0200
+++ /usr/src/contrib/top/commands.c	2010-09-27 14:15:14.000000000 +0200
@@ -80,7 +80,7 @@
 #ifdef ORDER
 	if (displaymode == DISP_CPU)
 		fputs("\
-o       - specify sort order (pri, size, res, cpu, time, threads)\n", stdout);
+o       - specify sort order (pri, size, res, cpu, time, threads, jid)\n", stdout);
 	else
 		fputs("\
 o       - specify sort order (vcsw, ivcsw, read, write, fault, total)\n", stdout);
>Release-Note:
>Audit-Trail:
>Unformatted:



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