home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
- From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
- Newsgroups: comp.os.linux
- Subject: Re: ps in linux .99p1 broken?
- Date: 26 Dec 1992 19:55:43 -0600
- Organization: Kansas State University
- Lines: 47
- Message-ID: <1hj2evINNg9i@matt.ksu.ksu.edu>
- References: <1hgqa9INNfm9@matt.ksu.ksu.edu> <1992Dec26.151356.25029@ifi.unizh.ch>
- NNTP-Posting-Host: matt.ksu.ksu.edu
-
- amir@avalon.physik.unizh.ch (Guindehi Amir) writes:
-
- >probreak@matt.ksu.ksu.edu (James Michael Chacon) writes:
- >: amir@avalon.physik.unizh.ch (Guindehi Amir) writes:
- >:
- >: >Same at me, ps,fstat and top dos'nt work with 99p1. Do you have tried the
- >: >posted fstat.diff.tar.Z ? I will do tomarrow ! ;-)
- >:
- >: >- Amir
- >:
- >: Ps, top, and free will work if you fo a ps -U against the unstripped kernel
- >: which is stored in /usr/src/linxu/tools/system.
-
- >ps -U changes NOTHING ! ;-(( ps always brings out only the HEADER - Line :
-
- >root @ titan.chronos.ch [/] # ps -U /usr/src/linux/tools/system
- > PID TT STAT TIME COMMAND
- >root @ titan.chronos.ch [/] # ps
- > PID TT STAT TIME COMMAND
- >root @ titan.chronos.ch [/] #
-
- >Any Idea ?
-
- >: The fstat patch works, and allow fstat and fuser to work again.. Thats the
- >: only file it patched.
-
- >It's surely a FAQ, but how does one apply a *.diff.Z file with diff ?
-
- >:
- >: James
-
- >- Amir
-
- When ps won't work after doing a ps -U that generally means its time to
- recompile the thing. Just recompile and try again and I am positive it will
- work.
-
- As far as using diff files, you need to have the patch binary on line.
- Then go to the directory where ps is at and do the next command.
-
- patch -p1 < diff >& patch.log &
-
- When it is done, grep through the patch.log for the word fail. These are
- patches you will have to apply by hand. The FAQ had a good example on
- doing this once, don't know if its still in there.
-
- James
-