]> granicus.if.org Git - procps-ng/commitdiff
man page stuff
authoralbert <>
Mon, 30 Jun 2003 03:30:35 +0000 (03:30 +0000)
committeralbert <>
Mon, 30 Jun 2003 03:30:35 +0000 (03:30 +0000)
NEWS
kill.1
proc/readproc.c
skill.1
top.c

diff --git a/NEWS b/NEWS
index b2612c8e7d783c125829e4000fee2e2bca67a167..cac2a6ab7b8db2ee0a860b0fd36ee10eaa4bd97a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,7 @@
 procps-3.1.9 --> procps-3.1.10
 
+kill: better man page
+skill: better man page
 
 procps-3.1.8 --> procps-3.1.9
 
diff --git a/kill.1 b/kill.1
index 5c473f8fa4a598dafeb15e4f3be03a856f435e85..aef9dbfa380d741b631196b2a6187b467ff8ce09 100644 (file)
--- a/kill.1
+++ b/kill.1
@@ -7,7 +7,7 @@
 .\" Michael K. Johnson
 .TH KILL 1 "November 21, 1999" "Linux" "Linux User's Manual"
 .SH NAME
-kill \- report process status
+kill \- send a signal to a process
 
 .SH SYNOPSIS
 .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 in a nice table.
 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
 
 .SH DESCRIPTION
@@ -38,6 +38,7 @@ lB rB lB lB
 lfCW r l l.
 Name   Num     Action  Description
 .TH
+0      0       n/a     exit code indicates if a signal may be sent
 ALRM   14      exit
 HUP    1       exit
 INT    2       exit
@@ -104,7 +105,7 @@ Send the default signal, SIGTERM, to all those processes.
 .fi
 .PP
 .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
 This command meets appropriate standards. The -L flag is Linux-specific.
index e3d9448a5c31fe1421b1d29337c761329ce51a60..6eefc09e9ad6d7ec37de67cdc01a4594e834b7d9 100644 (file)
@@ -560,6 +560,7 @@ next_proc:                          /* get next PID for consideration */
        p = xcalloc(p, sizeof *p); /* passed buf or alloced mem */
 
     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
     p->secsid = secsid;
 #endif
@@ -663,6 +664,7 @@ next_proc:                          /* get next PID for consideration */
        p = xcalloc(p, sizeof *p); /* passed buf or alloced mem */
 
     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
     p->secsid = secsid;
 #endif
diff --git a/skill.1 b/skill.1
index 38132680b24eb2111c23a82b54dbf48a59eee2d0..284e11ebf0343a16aca891330f376e3d51b2339f 100644 (file)
--- a/skill.1
+++ b/skill.1
@@ -8,7 +8,7 @@
 .\"
 .TH SKILL 1 "March 12, 1999" "Linux" "Linux User's Manual"
 .SH NAME
-skill, snice \- report process status
+skill, snice \- send a signal or report process status
 
 .SH SYNOPSIS
 .nf
@@ -60,6 +60,7 @@ lB rB lB lB
 lfCW r l l.
 Name   Num     Action  Description
 .TH
+0      0       n/a     exit code indicates if a signal may be sent
 ALRM   14      exit
 HUP    1       exit
 INT    2       exit
@@ -107,7 +108,7 @@ snice -17 root bash Give priority to root's shell
 .TE
 
 .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
 No standards apply.
diff --git a/top.c b/top.c
index fa75da6f1f85809f5b3fdd41ad45dbb599b0aad4..3e6fe2a8cd676d2ab1121c455567cc8ce698d355 100644 (file)
--- a/top.c
+++ b/top.c
@@ -1131,7 +1131,7 @@ static FLD_t Fieldstab[] = {
 #endif
    // next entry's special: '.head' will be formatted using table entry's own
    //                       '.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   },
    // next entry's special: the 0's will be replaced with '.'!
 #ifdef CASEUP_HEXES