man page stuff

This commit is contained in:
albert 2003-06-30 03:30:35 +00:00
parent 40a1be6956
commit 1dc1b63d34
5 changed files with 12 additions and 6 deletions

2
NEWS
View File

@ -1,5 +1,7 @@
procps-3.1.9 --> procps-3.1.10 procps-3.1.9 --> procps-3.1.10
kill: better man page
skill: better man page
procps-3.1.8 --> procps-3.1.9 procps-3.1.8 --> procps-3.1.9

7
kill.1
View File

@ -7,7 +7,7 @@
.\" Michael K. Johnson .\" Michael K. Johnson
.TH KILL 1 "November 21, 1999" "Linux" "Linux User's Manual" .TH KILL 1 "November 21, 1999" "Linux" "Linux User's Manual"
.SH NAME .SH NAME
kill \- report process status kill \- send a signal to a process
.SH SYNOPSIS .SH SYNOPSIS
.TS .TS
@ -18,7 +18,7 @@ kill -s signal pid ... Send a signal to every process listed.
kill -l List all signal names. kill -l List all signal names.
kill -L List all signal names in a nice table. kill -L List all signal names in a nice table.
kill -l signal Convert a signal number into a name. kill -l signal Convert a signal number into a name.
kill -V,--version Show version of program kill -V,--version Show version of program
.TE .TE
.SH DESCRIPTION .SH DESCRIPTION
@ -38,6 +38,7 @@ lB rB lB lB
lfCW r l l. lfCW r l l.
Name Num Action Description Name Num Action Description
.TH .TH
0 0 n/a exit code indicates if a signal may be sent
ALRM 14 exit ALRM 14 exit
HUP 1 exit HUP 1 exit
INT 2 exit INT 2 exit
@ -104,7 +105,7 @@ Send the default signal, SIGTERM, to all those processes.
.fi .fi
.PP .PP
.SH "SEE ALSO" .SH "SEE ALSO"
top(1) skill(1) kill(2) renice(1) nice(1) pkill(1) skill(1) kill(2) renice(1) nice(1) signal(7) killall(1)
.SH STANDARDS .SH STANDARDS
This command meets appropriate standards. The -L flag is Linux-specific. This command meets appropriate standards. The -L flag is Linux-specific.

View File

@ -560,6 +560,7 @@ next_proc: /* get next PID for consideration */
p = xcalloc(p, sizeof *p); /* passed buf or alloced mem */ p = xcalloc(p, sizeof *p); /* passed buf or alloced mem */
p->euid = sb.st_uid; /* need a way to get real uid */ p->euid = sb.st_uid; /* need a way to get real uid */
p->egid = sb.st_gid; /* need a way to get real gid */
#ifdef FLASK_LINUX #ifdef FLASK_LINUX
p->secsid = secsid; p->secsid = secsid;
#endif #endif
@ -663,6 +664,7 @@ next_proc: /* get next PID for consideration */
p = xcalloc(p, sizeof *p); /* passed buf or alloced mem */ p = xcalloc(p, sizeof *p); /* passed buf or alloced mem */
p->euid = sb.st_uid; /* need a way to get real uid */ p->euid = sb.st_uid; /* need a way to get real uid */
p->egid = sb.st_gid; /* need a way to get real gid */
#ifdef FLASK_LINUX #ifdef FLASK_LINUX
p->secsid = secsid; p->secsid = secsid;
#endif #endif

View File

@ -8,7 +8,7 @@
.\" .\"
.TH SKILL 1 "March 12, 1999" "Linux" "Linux User's Manual" .TH SKILL 1 "March 12, 1999" "Linux" "Linux User's Manual"
.SH NAME .SH NAME
skill, snice \- report process status skill, snice \- send a signal or report process status
.SH SYNOPSIS .SH SYNOPSIS
.nf .nf
@ -60,6 +60,7 @@ lB rB lB lB
lfCW r l l. lfCW r l l.
Name Num Action Description Name Num Action Description
.TH .TH
0 0 n/a exit code indicates if a signal may be sent
ALRM 14 exit ALRM 14 exit
HUP 1 exit HUP 1 exit
INT 2 exit INT 2 exit
@ -107,7 +108,7 @@ snice -17 root bash Give priority to root's shell
.TE .TE
.SH "SEE ALSO" .SH "SEE ALSO"
killall(1) pkill(1) kill(1) renice(1) nice(1) killall(1) pkill(1) kill(1) renice(1) nice(1) signal(7) kill(2)
.SH STANDARDS .SH STANDARDS
No standards apply. No standards apply.

2
top.c
View File

@ -1131,7 +1131,7 @@ static FLD_t Fieldstab[] = {
#endif #endif
// next entry's special: '.head' will be formatted using table entry's own // next entry's special: '.head' will be formatted using table entry's own
// '.fmts' plus runtime supplied conversion args! // '.fmts' plus runtime supplied conversion args!
{ "XxXx", "Command ", "%-*.*s ", -1, -1, SF(CMD), "Command name/line", L_EITHER }, { "XxXx", "COMMAND ", "%-*.*s ", -1, -1, SF(CMD), "Command name/line", L_EITHER },
{ "YyUu", "WCHAN ", "%-9.9s ", -1, -1, SF(WCH), "Sleeping in Function", L_stat }, { "YyUu", "WCHAN ", "%-9.9s ", -1, -1, SF(WCH), "Sleeping in Function", L_stat },
// next entry's special: the 0's will be replaced with '.'! // next entry's special: the 0's will be replaced with '.'!
#ifdef CASEUP_HEXES #ifdef CASEUP_HEXES