After issuing the 'Y' \*(CI, you will be prompted for a target PID.
Typing a value or accepting the default results in a separate screen.
That screen can be used to view a variety of files or piped command output
-while the normal top iterative display is paused.
+while the normal \*(We iterative display is paused.
\*(NT This \*(CI is only fully realized when supporting entries have been
manually added to the end of the \*(We \*(CF.
.\" ......................................................................
.SS 6b. PERSONAL Configuration File
.\" ----------------------------------------------------------------------
-This file is written as '$HOME/.your-name-4-top' + 'rc'.
+This file is written as '$HOME/.your\-name\-4\-\*(We' + 'rc'.
Use the 'W' \*(CI to create it or update it.
Here is the general layout:
executed whose results will then be displayed in a separate scrollable,
searchable window.
-If you don't know the location or name of your top rcfile, use the 'W'
+If you don't know the location or name of your \*(We rcfile, use the 'W'
\*(CI to rewrite it and note those details.
Inspect entries can be added with a redirected echo or by editing the \*(CF.
Options: help 1 2 3 4 5 6 7 8 9 10 11 ...
.Ed
-The entries in the top rcfile would have a number for the '.name' element and
+The entries in the \*(We rcfile would have a number for the '.name' element and
the 'help' entry would identify a shell script you've written explaining what
those numbered selections actually mean.
In that way, many more choices can be made visible.
Then do the following:
.Bd -literal -compact
. provide a scheduling boost and tiny delay via:
- nice -n -10 top -d.09
+ nice -n -10 \*(We -d.09
. keep sorted column highlighting \*F so as to
minimize path length
. turn \*O reverse row highlighting for emphasis
.\" ----------------------------------------------------------------------
.SH 9. HISTORY Former top
.\" ----------------------------------------------------------------------
-The original top was written by Roger Binns,
+The original \*(We was written by Roger Binns,
based on Branko Lankester's <lankeste@fwi.uva.nl> ps program.
Robert Nation <nation@rocket.sanders.lockheed.com>
#define AUTOX_MODE (0 > Rc.fixed_widest)
/* Support for scale_mem and scale_num (to avoid duplication. */
-#ifdef CASEUP_SUFIX
+#ifdef CASEUP_SUFIX // nls_maybe
static char Scaled_sfxtab[] = { 'K', 'M', 'G', 'T', 'P', 'E', 0 };
-#else
+#else // nls_maybe
static char Scaled_sfxtab[] = { 'k', 'm', 'g', 't', 'p', 'e', 0 };
#endif
\f
at_eoj(); // restore tty in preparation for exit
#ifdef ATEOJ_RPTSTD
{ proc_t *p;
- if (!str && Ttychanged) { fprintf(stderr,
+ if (!str) { fprintf(stderr,
"\n%s's Summary report:"
"\n\tProgram"
"\n\t Linux version = %u.%u.%u, %s"
#ifndef OFF_HST_HASH
#ifdef ATEOJ_RPTHSH
- if (!str && Ttychanged) {
+ if (!str) {
int i, j, pop, total_occupied, maxdepth, maxdepth_sav, numdepth
, cross_foot, sz = HHASH_SIZ * (unsigned)sizeof(int);
int depths[HHASH_SIZ];
{ P_UEN, DEF_WINFLGS, 0, \
COLOR_YELLOW, COLOR_YELLOW, COLOR_GREEN, COLOR_YELLOW, \
"Usr", USR_FIELDS } \
- }, 0 }
+ }, 0, SK_Kb, SK_Kb, 0 }
/* Summary Lines specially formatted string(s) --
see 'show_special' for syntax details + other cautions. */
fprintf(stderr, nls_err, "Uniq", i);
exit(1);
}
- #ifndef INSP_OFFDEMO
- if (READMINSZ < strlen(N_txt(YINSP_dstory_txt)) +1) {
- fprintf(stderr
- , "\nAssertion Failed in %s (%s):\n"
- "\t'READMINSZ < strlen(N_txt(YINSP_dstory_txt)) + 1'\n"
- "READMINSZ must be at least %u !\n\n"
- , __FILE__, __func__, (unsigned)strlen(N_txt(YINSP_dstory_txt)) + 1);
- exit(1);
- }
- #endif
#else
setlocale (LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);