From: zlsiial@uts.mcc.ac.uk (A. V. Le Blanc) Subject: New kernels and ps (was Re: linux 0.96c releases - mix ?) Date: 13 Jul 1992 07:45:01 GMT
In article <1992Jul10.114940.9779@athena.mit.edu> steffen@gfz-potsdam.dbp.de writes:
>"jliddle@rs6000.cmp.ilstu.edu writes :"
>|
>| I installed from both Linus' root image and the mcc image, and ended up
>| using the mcc image becouse of the completeness of the installation (ps
>| works immediately without recompilation, ln is present, and I didn't
>| have to hunt down all the other misc utilities like bison, make, etc).
>
>voila - it took three quarters of an hour on my 386sx/20, but really works.
>One problem : ps doesn't like the new kernel ... Where to get the sources ?
>(Is there a new version for ps or can I just use ps0.96b, e.g. from
>mcc:/pub/linux/misc/ps0.96b.tar.Z ?)
The ps database must be reconstructed whenever you recompile the kernel.
To do this, when you move the Image file to /etc (or wherever you put it)
move the tools/system file to /etc as well. (The MCC ps is configured to
read this file as /etc/system). Then after rebooting, and after logging
in as root, give the command 'ps U'. This creates a new /etc/psdatabase,
and the /etc/system can then be deleted.
It should not be necessary to recompile ps.
Note that free and top will not work correctly until you have created
/etc/psdatabase for a new kernel.
-- Owen
LeBlanc@mcc.ac.uk