bin/150992: top(1): mention 'jid' as a possible sort order

Frederic Culot frederic at culot.org
Mon Sep 27 12:40:02 UTC 2010


>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 at 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:


More information about the freebsd-bugs mailing list