ps man page

This commit is contained in:
albert 2006-09-10 06:25:56 +00:00
parent 0231385023
commit 9049ffef32
7 changed files with 25 additions and 9 deletions

4
NEWS
View File

@ -1,3 +1,7 @@
procps-3.2.7 --> procps-3.2.8
ps: document SCHED_BATCH and add "see also" for stime
procps-3.2.6 --> procps-3.2.7 procps-3.2.6 --> procps-3.2.7
top: document H option -- thanks Tony Ernst top: document H option -- thanks Tony Ernst

View File

@ -153,6 +153,7 @@ static void old_Hertz_hack(void){
case 95 ... 105 : Hertz = 100; break; /* normal Linux */ case 95 ... 105 : Hertz = 100; break; /* normal Linux */
case 124 ... 132 : Hertz = 128; break; /* MIPS, ARM */ case 124 ... 132 : Hertz = 128; break; /* MIPS, ARM */
case 195 ... 204 : Hertz = 200; break; /* normal << 1 */ case 195 ... 204 : Hertz = 200; break; /* normal << 1 */
case 247 ... 252 : Hertz = 250; break;
case 253 ... 260 : Hertz = 256; break; case 253 ... 260 : Hertz = 256; break;
case 393 ... 408 : Hertz = 400; break; /* normal << 2 */ case 393 ... 408 : Hertz = 400; break; /* normal << 2 */
case 790 ... 808 : Hertz = 800; break; /* normal << 3 */ case 790 ... 808 : Hertz = 800; break; /* normal << 3 */

View File

@ -1,15 +1,15 @@
Begin4 Begin4
Title: procps Title: procps
Version: 3.2.6 Version: 3.2.7
Entered-date: 2005-10-30 Entered-date: 2006-06-25
Description: Linux system utilities Description: Linux system utilities
Keywords: procps /proc libproc sysctl pmap ps uptime tload slabtop Keywords: procps /proc libproc sysctl pmap ps uptime tload slabtop
free w top vmstat watch skill snice kill pgrep pkill free w top vmstat watch skill snice kill pgrep pkill
Author: Albert Cahalan, Michael K. Johnson, Jim Warner, etc. Author: Albert Cahalan, Michael K. Johnson, Jim Warner, etc.
Maintained-by: various <procps-feedback@lists.sf.net> Maintained-by: various <procps-feedback@lists.sf.net>
Primary-site: http://procps.sf.net/ Primary-site: http://procps.sf.net/
277kB procps-3.2.6.tar.gz 281kB procps-3.2.7.tar.gz
Alternate-site: http://www.debian.org/Packages/unstable/base/procps.html Alternate-site: http://www.debian.org/Packages/unstable/base/procps.html
277kB procps-3.2.6.tar.gz 281kB procps-3.2.7.tar.gz
Copying-policy: mixed Copying-policy: mixed
End End

View File

@ -3,7 +3,7 @@ Summary: System and process monitoring utilities
Name: procps Name: procps
%define major_version 3 %define major_version 3
%define minor_version 2 %define minor_version 2
%define revision 6 %define revision 7
%define version %{major_version}.%{minor_version}.%{revision} %define version %{major_version}.%{minor_version}.%{revision}
Version: %{version} Version: %{version}
Release: 1 Release: 1

View File

@ -231,7 +231,7 @@ static const char *parse_sysv_option(void){
// In the meantime, please do not add to it. The list is // In the meantime, please do not add to it. The list is
// intended to ONLY contain flags defined by the POSIX and UNIX // intended to ONLY contain flags defined by the POSIX and UNIX
// standards published by The Open Group, IEEE, and ISO. // standards published by The Open Group, IEEE, and ISO.
if(!strchr("aAdefgGlnoptuU", *flagptr)) not_pure_unix = 1; if(!strchr("aAdefgGlnoptuU", *flagptr)) not_pure_unix = 1; // dude, -Z ain't in POSIX
switch(*flagptr){ switch(*flagptr){
case 'A': case 'A':

15
ps/ps.1
View File

@ -884,6 +884,7 @@ time the command started. If the process was started less
than 24 hours ago, the output format is "\ HH:MM", than 24 hours ago, the output format is "\ HH:MM",
else it is "mmm\ dd" else it is "mmm\ dd"
(where mmm is the three letters of the month). (where mmm is the three letters of the month).
See also \fBlstart\fR, \fBstart\fR, \fBstart_time\fR, and \fBstime\fR.
T} T}
bsdtime TIME T{ bsdtime TIME T{
@ -915,6 +916,8 @@ FF SCHED_FIFO
.br .br
RR SCHED_RR RR SCHED_RR
.br .br
B SCHED_BATCH
.br
? unknown value ? unknown value
T} T}
@ -930,6 +933,8 @@ FF SCHED_FIFO
.br .br
RR SCHED_RR RR SCHED_RR
.br .br
B SCHED_BATCH
.br
? unknown value ? unknown value
T} T}
@ -1065,6 +1070,7 @@ T}
lstart STARTED T{ lstart STARTED T{
time the command started. time the command started.
See also \fBbsdstart\fR, \fBstart\fR, \fBstart_time\fR, and \fBstime\fR.
T} T}
lwp LWP T{ lwp LWP T{
@ -1132,6 +1138,8 @@ FF SCHED_FIFO
.br .br
RR SCHED_RR RR SCHED_RR
.br .br
B SCHED_BATCH
.br
? unknown value ? unknown value
T} T}
@ -1189,8 +1197,9 @@ information displayed. (alias\ \fBstate\fR).
T} T}
sched SCH T{ sched SCH T{
scheduling policy of the process. The policies sched_other, sched_fifo, scheduling policy of the process. The policies sched_other,
and sched_rr are respectively displayed as 0,\ 1,\ and\ 2. sched_fifo, sched_rr, and sched_batch are respectively
displayed as 0,\ 1,\ 2,\ and\ 3.
T} T}
sess SESS T{ sess SESS T{
@ -1255,6 +1264,7 @@ If the process was started less than 24 hours ago,
the output format is "HH:MM:SS", the output format is "HH:MM:SS",
else it is "\ \ mmm\ dd" else it is "\ \ mmm\ dd"
(where mmm is a three\-letter month\ name). (where mmm is a three\-letter month\ name).
See also \fBlstart\fR, \fBbsdstart\fR, \fBstart_time\fR, and \fBstime\fR.
T} T}
start_time START T{ start_time START T{
@ -1263,6 +1273,7 @@ Only the year will be displayed if the process was not
started the same year \fBps\fR was invoked, started the same year \fBps\fR was invoked,
or\ "mmmdd" if\ it was not started the same day, or\ "mmmdd" if\ it was not started the same day,
or\ "HH:MM" otherwise. or\ "HH:MM" otherwise.
See also \fBbsdstart\fR, \fBstart\fR, \fBlstart\fR, and \fBstime\fR.
T} T}
stat STAT T{ stat STAT T{

2
top.c
View File

@ -2485,7 +2485,7 @@ static void do_key (unsigned c)
switch (c) { switch (c) {
case '1': case '1':
if (Cpu_tot+7 > Screen_rows && !CHKw(Curwin, View_CPUSUM)) { if (Cpu_tot+7 > Screen_rows && CHKw(Curwin, View_CPUSUM)) {
show_msg(err_num_cpus); show_msg(err_num_cpus);
break; break;
} }