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
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
diff -rNu procps-2.0.11-orig/top.c procps-2.0.11/top.c
--- procps-2.0.11-orig/top.c 2002-11-24 00:01:58.000000000 +0100
+++ procps-2.0.11/top.c 2002-12-17 20:36:28.000000000 +0100
@@ -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));
On Tue, 2002-12-17 at 20:27, Andreas Steinmetz wrote:
> The attached patch does fix this.
Indeed, this is correct - thanks.
I committed the patch to CVS.
Robert Love