Newsgroups: comp.os.linux.announce
From: "Sander van Malssen" <svm@kozmix.hacktic.nl>
Subject: Procinfo v0.1
Message-ID: <1994Mar31.161644.23225@cs.cornell.edu>
Date: Thu, 31 Mar 1994 16:16:44 GMT
Approved: linux-announce@tc.cornell.edu (Matt Welsh)

This is to announce the release of version 0.1 procinfo, a full-screen
system info display. 

It should be available from sunsite.unc.edu at
	/pub/Linux/Incoming/procinfo-0.2.tar.gz 
until it's moved to
	/pub/Linux/system/Misc/ps/procinfo-0.2.tar.gz.

Here's what it's all about:

[---start of README---]

This is version 0.2 of procinfo for Linux, dated 1994-03-30.

* New in this version:

  + The kernel patch broke rpc.rstatd.  Fixed.  Please make sure you
  don't use an old version of procinfo with the new kernel patch or
  vice versa.

  + Wildly expanded manual page.

  + A few cosmetic changes.


* What it is.

Procinfo is a small program that gathers some system information from
diverse files under /proc and prints it to the screen.  It duplicates
some of the functionality of free(1) and uptime(1).  It should work
with any kernel release close to 1.0.


* Semi-optional interrupt patch.

As is, the `intr' line in /proc/stat under Linux 1.0 prints the
accumulated number of interrupts that have happened since bootup for
all 16 irq channels lumped together.  You can change this to display
the number of interrupts for each individual irq by applying the patch
in `kernel.patch' to the kernel sources (if necessary) and then
compiling procinfo with the -DNO_IRQ_ARRAY flag commented out in the
Makefile.

If your kernel is at version 1.0.4 or older, just say

cd /usr/src/linux		(or whichever dir contains the kernel sources)
patch < kernel.patch

If you have version 1.0.5, then the patch is already part of the
standard kernel, except that there is a small bug in
linux/fs/proc/array.c at line 101 where it reads

		"%u",

but should read

		"intr %u",

Change this by hand and recompile and you should be all set.

Note that the -DNO_IRQ_ARRAY flag is necessary only if you have an
older kernel *and* you cannot (or don't wish to) use the kernel patch.
It will go away in the future.

As said above, the patch that came with procinfo 0.1 broke the
rpc.rstatd daemon which reads the first number form the `intr' line
and assumes that that line contains the total number of interrupts.
In this version of procinfo, the patch merely adds the sixteen extra
numbers *after* the original total number (rather than replacing the
total number *with* the sixteen extra numbers), thus retaining
compatibility with rpc.rstatd.

Bug fixes, suggestions etc. are always welcome.

Have fun,

Sander van Malssen
svm@kozmix.hacktic.nl

[---end of README---]

-- 
Sander van Malssen
svm@kozmix.hacktic.nl
