commands.c (169237) | commands.c (169257) |
---|---|
1/* 2 * Top users/processes display for Unix 3 * Version 3 4 * 5 * This program may be freely redistributed, 6 * but this entire comment MUST remain intact. 7 * 8 * Copyright (c) 1984, 1989, William LeFebvre, Rice University 9 * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University 10 * | 1/* 2 * Top users/processes display for Unix 3 * Version 3 4 * 5 * This program may be freely redistributed, 6 * but this entire comment MUST remain intact. 7 * 8 * Copyright (c) 1984, 1989, William LeFebvre, Rice University 9 * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University 10 * |
11 * $FreeBSD: head/contrib/top/commands.c 169237 2007-05-03 22:17:35Z stas $ | 11 * $FreeBSD: head/contrib/top/commands.c 169257 2007-05-04 15:42:58Z rafan $ |
12 */ 13 14/* 15 * This file contains the routines that implement some of the interactive 16 * mode commands. Note that some of the commands are implemented in-line 17 * in "main". This is necessary because they change the global state of 18 * "top" (i.e.: changing the number of processes to display). 19 */ --- 48 unchanged lines hidden (view full) --- 68 else 69 { 70 fputs("\ 71C - toggle the displaying of weighted CPU percentage\n\ 72d - change number of displays to show\n\ 73e - list errors generated by last \"kill\" or \"renice\" command\n\ 74H - toggle the displaying of threads\n\ 75i or I - toggle the displaying of idle processes\n\ | 12 */ 13 14/* 15 * This file contains the routines that implement some of the interactive 16 * mode commands. Note that some of the commands are implemented in-line 17 * in "main". This is necessary because they change the global state of 18 * "top" (i.e.: changing the number of processes to display). 19 */ --- 48 unchanged lines hidden (view full) --- 68 else 69 { 70 fputs("\ 71C - toggle the displaying of weighted CPU percentage\n\ 72d - change number of displays to show\n\ 73e - list errors generated by last \"kill\" or \"renice\" command\n\ 74H - toggle the displaying of threads\n\ 75i or I - toggle the displaying of idle processes\n\ |
76j - toggle the displaying of jail id\n\ | 76j - toggle the displaying of jail ID\n\ |
77k - kill processes; send a signal to a list of processes\n\ 78m - toggle the display between 'cpu' and 'io' modes\n\ 79n or # - change number of processes to display\n", stdout); 80#ifdef ORDER 81 if (displaymode == DISP_CPU) 82 fputs("\ 83o - specify sort order (pri, size, res, cpu, time, threads)\n", stdout); 84 else --- 438 unchanged lines hidden --- | 77k - kill processes; send a signal to a list of processes\n\ 78m - toggle the display between 'cpu' and 'io' modes\n\ 79n or # - change number of processes to display\n", stdout); 80#ifdef ORDER 81 if (displaymode == DISP_CPU) 82 fputs("\ 83o - specify sort order (pri, size, res, cpu, time, threads)\n", stdout); 84 else --- 438 unchanged lines hidden --- |