top: accumulated misc tweaks to code/comments/man page

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2016-11-23 11:11:11 -06:00 committed by Craig Small
parent e70531a945
commit 57dfe6f92c
2 changed files with 4 additions and 6 deletions

View File

@ -69,7 +69,7 @@
. .
.\" Document ///////////////////////////////////////////////////////////// .\" Document /////////////////////////////////////////////////////////////
.\" ---------------------------------------------------------------------- .\" ----------------------------------------------------------------------
.TH TOP 1 "July 2016" "procps-ng" "User Commands" .TH TOP 1 "November 2016" "procps-ng" "User Commands"
.\" ---------------------------------------------------------------------- .\" ----------------------------------------------------------------------
.\" ---------------------------------------------------------------------- .\" ----------------------------------------------------------------------
@ -450,7 +450,7 @@ Display only processes with a user id or user name matching that given.
The `\-u' option matches on \fI effective\fR user whereas the `\-U' option The `\-u' option matches on \fI effective\fR user whereas the `\-U' option
matches on\fI any\fR user (real, effective, saved, or filesystem). matches on\fI any\fR user (real, effective, saved, or filesystem).
Prepending an exclamation point (`!') to the user id or name instructs top Prepending an exclamation point (`!') to the user id or name instructs \*(We
to display only processes with users not matching the one provided. to display only processes with users not matching the one provided.
The `p', `u' and `U' \*(COs are mutually exclusive. The `p', `u' and `U' \*(COs are mutually exclusive.
@ -1582,7 +1582,7 @@ matches on\fB any\fR user (real, effective, saved, or filesystem).
Thereafter, in that \*(TW only matching users will be shown, or possibly Thereafter, in that \*(TW only matching users will be shown, or possibly
no processes will be shown. no processes will be shown.
Prepending an exclamation point (`!') to the user id or name instructs top Prepending an exclamation point (`!') to the user id or name instructs \*(We
to display only processes with users not matching the one provided. to display only processes with users not matching the one provided.
Different \*(TWs can be used to filter different users. Different \*(TWs can be used to filter different users.

View File

@ -20,8 +20,6 @@
#ifndef _Itop #ifndef _Itop
#define _Itop #define _Itop
#include <proc/procps.h>
/* Defines represented in configure.ac ----------------------------- */ /* Defines represented in configure.ac ----------------------------- */
//#define BOOST_PERCNT /* enable extra precision for two % fields */ //#define BOOST_PERCNT /* enable extra precision for two % fields */
//#define NOBOOST_MEMS /* disable extra precision for mem fields */ //#define NOBOOST_MEMS /* disable extra precision for mem fields */
@ -636,7 +634,7 @@ typedef struct WIN_t {
//atic void keys_window (int ch); //atic void keys_window (int ch);
//atic void keys_xtra (int ch); //atic void keys_xtra (int ch);
/*------ Forest View support -------------------------------------------*/ /*------ Forest View support -------------------------------------------*/
//atic void forest_adds (const int self, int level); //atic void forest_adds (const int self, unsigned level);
//atic void forest_begin (WIN_t *q); //atic void forest_begin (WIN_t *q);
//atic inline const char *forest_colour (const WIN_t *q, struct pids_stack *p); //atic inline const char *forest_colour (const WIN_t *q, struct pids_stack *p);
/*------ Main Screen routines ------------------------------------------*/ /*------ Main Screen routines ------------------------------------------*/