From: hedrick@geneva.rutgers.edu (Charles Hedrick) Subject: Re: [FIX] PS FIX FOR 99p2 !!! Date: 2 Jan 1993 19:28:38 GMT
andrewc@aurora.cc.monash.edu.au (Andrew J. Cosgriff !) writes:
>Okay, in my quest to do something useful for the Linux community, here are
>some patches to get ps up and running with 99p2..just a header file location
>change and an already-used variable, but, well, it's handy to have it done
>for you, I guess...
I'd encourage people to try the ps and free based on /proc, which is
in BETA/procps/procps.tar.Z on tsx-11. It works fine for me without
any recompilation under 0.99pl1, 0.99pl2, and 0.99pl2 with Tytso's new
serial code. It's intended to do away with the need for a new version
of ps with each release. I'd suggest that people who want to work
with ps and friends spend your time on that code, e.g. maybe adapting
top to use the new code.
There has been some question about which device should be used in
mounting /proc. As far as I can tell, it's irrelevant. Hlu's base
distribution has an fstab that mounts it on /dev/proc, but his /dev
doesn't have a /dev/proc. It still works (though you can't unmount
it).
(By the way, there were two problems installing the new serial code.
The resulting serial.c was missing a semicolon, and setserial.c -- a
support utility for using the new features -- appears to be two copies
of the same thing concatenated. The fixes are obvious: the compiler
will tell you where the semicolon is needed, and setserial.c needs to
be truncated after the first copy of main.)