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
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 124 ... 132 : Hertz = 128; break; /* MIPS, ARM */
case 195 ... 204 : Hertz = 200; break; /* normal << 1 */
case 247 ... 252 : Hertz = 250; break;
case 253 ... 260 : Hertz = 256; break;
case 393 ... 408 : Hertz = 400; break; /* normal << 2 */
case 790 ... 808 : Hertz = 800; break; /* normal << 3 */

View File

@ -1,15 +1,15 @@
Begin4
Title: procps
Version: 3.2.6
Entered-date: 2005-10-30
Version: 3.2.7
Entered-date: 2006-06-25
Description: Linux system utilities
Keywords: procps /proc libproc sysctl pmap ps uptime tload slabtop
free w top vmstat watch skill snice kill pgrep pkill
Author: Albert Cahalan, Michael K. Johnson, Jim Warner, etc.
Maintained-by: various <procps-feedback@lists.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
277kB procps-3.2.6.tar.gz
281kB procps-3.2.7.tar.gz
Copying-policy: mixed
End

View File

@ -3,7 +3,7 @@ Summary: System and process monitoring utilities
Name: procps
%define major_version 3
%define minor_version 2
%define revision 6
%define revision 7
%define version %{major_version}.%{minor_version}.%{revision}
Version: %{version}
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
// intended to ONLY contain flags defined by the POSIX and UNIX
// 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){
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",
else it is "mmm\ dd"
(where mmm is the three letters of the month).
See also \fBlstart\fR, \fBstart\fR, \fBstart_time\fR, and \fBstime\fR.
T}
bsdtime TIME T{
@ -915,6 +916,8 @@ FF SCHED_FIFO
.br
RR SCHED_RR
.br
B SCHED_BATCH
.br
? unknown value
T}
@ -930,6 +933,8 @@ FF SCHED_FIFO
.br
RR SCHED_RR
.br
B SCHED_BATCH
.br
? unknown value
T}
@ -1065,6 +1070,7 @@ T}
lstart STARTED T{
time the command started.
See also \fBbsdstart\fR, \fBstart\fR, \fBstart_time\fR, and \fBstime\fR.
T}
lwp LWP T{
@ -1132,6 +1138,8 @@ FF SCHED_FIFO
.br
RR SCHED_RR
.br
B SCHED_BATCH
.br
? unknown value
T}
@ -1189,8 +1197,9 @@ information displayed. (alias\ \fBstate\fR).
T}
sched SCH T{
scheduling policy of the process. The policies sched_other, sched_fifo,
and sched_rr are respectively displayed as 0,\ 1,\ and\ 2.
scheduling policy of the process. The policies sched_other,
sched_fifo, sched_rr, and sched_batch are respectively
displayed as 0,\ 1,\ 2,\ and\ 3.
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",
else it is "\ \ mmm\ dd"
(where mmm is a three\-letter month\ name).
See also \fBlstart\fR, \fBbsdstart\fR, \fBstart_time\fR, and \fBstime\fR.
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,
or\ "mmmdd" if\ it was not started the same day,
or\ "HH:MM" otherwise.
See also \fBbsdstart\fR, \fBstart\fR, \fBlstart\fR, and \fBstime\fR.
T}
stat STAT T{

2
top.c
View File

@ -2485,7 +2485,7 @@ static void do_key (unsigned c)
switch (c) {
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);
break;
}