Skip to contentSkip to conversation

procps 2.0.11

announce Robert Love 3 participants 4 messages Dec 11, 2002 – Dec 18, 2002

lore
Share & tools
lore
#0 lore raw

Rik and I are pleased to announce version 2.0.11 of procps, the package that contains ps, top, free, vmstat, etc.

Newer versions of procps are required for 2.5 kernels.

Most notable in this release is a handful of bug fixes, support for /proc/pid/wchan, and an all-new free(1) implementation.

Source tarball and RPM packages are available from:

	http://tech9.net/rml/procps/

Procps discussion, bugs, and patches are welcome at:
[email protected]

NEWS for 2.0.11:

* add CPU field to top (Dave Miller)
* ensure top CPU stat spacing is always aligned (Rik van Riel)
* vmstat divide by zero fix (Jens Axboe)
* support pre-decoded wchan from 2.5 in /proc/#/wchan (Robert Love)
* Makefile cleanups (Maciej W. Rozycki)
* removed XConsole from the package (Robert Love)
* removed kill and kill.1 - they are in util-linux (Robert Love)
* provide crucial typo fixes (Chris Rivera)
* all-new implementation of free (Robert Love)
* improved print_uptime and sprint_uptime (Robert Love)
* default install permissions are now 755 (Robert Love)

Enjoy,

Robert Love

#1 lore raw

top reports this:

7 root 18446744073709551615 -20 0 0 0 SW< 0.0  0.0   A0:00   0 mdrecoveryd
8 root 18446744073709551615 -20 0 0 0 SW< 0.0  0.0   0:00   0 raid1d

is this strange or what ?

ps aux says:

root  7  0.0  0.0  0  0 ?  SW<  Dec09   0:00 [mdrecoveryd]
root  8  0.0  0.0  0  0 ?  SW<  Dec09   0:00 [raid1d]

(both from 2.0.11)

kernel 2.4.20-pre6

#2 lore raw
Quoted 7 lines · Andrei Ivanov

top reports this:

7 root 18446744073709551615 -20 0 0 0 SW< 0.0  0.0   A0:00   0 mdrecoveryd
8 root 18446744073709551615 -20 0 0 0 SW< 0.0  0.0   0:00   0 raid1d

is this strange or what ?

The attached patch does fix this.

top.c +1 -1
diff -rNu procps-2.0.11-orig/top.c procps-2.0.11/top.c
@@ -1125,7 +1125,7 @@
 			if (task->priority < -99)
 				sprintf(tmp, " RT ");
 			else
-				sprintf(tmp, "%3llu ", task->priority);
+				sprintf(tmp, "%3lld ", task->priority);
 			break;
 		case P_NICE:
 			sprintf(tmp, "%3.3s ", scale_k(task->nice, 3, 0));
#3 lore raw
Quoted 1 line · Andreas Steinmetz

The attached patch does fix this.

Indeed, this is correct - thanks.

I committed the patch to CVS.

Robert Love