home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21777 < prev    next >
Encoding:
Internet Message Format  |  1992-12-26  |  1.9 KB

  1. Path: sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  2. From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: ps in linux .99p1 broken?
  5. Date: 26 Dec 1992 19:55:43 -0600
  6. Organization: Kansas State University
  7. Lines: 47
  8. Message-ID: <1hj2evINNg9i@matt.ksu.ksu.edu>
  9. References: <1hgqa9INNfm9@matt.ksu.ksu.edu> <1992Dec26.151356.25029@ifi.unizh.ch>
  10. NNTP-Posting-Host: matt.ksu.ksu.edu
  11.  
  12. amir@avalon.physik.unizh.ch (Guindehi Amir) writes:
  13.  
  14. >probreak@matt.ksu.ksu.edu (James Michael Chacon) writes:
  15. >: amir@avalon.physik.unizh.ch (Guindehi Amir) writes:
  16. >: 
  17. >: >Same at me, ps,fstat and top dos'nt work with 99p1. Do you have tried the
  18. >: >posted fstat.diff.tar.Z ? I will do tomarrow ! ;-)
  19. >: 
  20. >: >- Amir
  21. >: 
  22. >: Ps, top, and free will work if you fo a ps -U against the unstripped kernel
  23. >: which is stored in /usr/src/linxu/tools/system.
  24.  
  25. >ps -U changes NOTHING ! ;-(( ps always brings out only the HEADER - Line :
  26.  
  27. >root @ titan.chronos.ch [/] # ps -U /usr/src/linux/tools/system
  28. >  PID TT STAT  TIME COMMAND
  29. >root @ titan.chronos.ch [/] # ps
  30. >  PID TT STAT  TIME COMMAND
  31. >root @ titan.chronos.ch [/] #
  32.  
  33. >Any Idea ?
  34.  
  35. >: The fstat patch works, and allow fstat and fuser to work again.. Thats the
  36. >: only file it patched.
  37.  
  38. >It's surely a FAQ, but how does one apply a *.diff.Z file with diff ? 
  39.  
  40. >: 
  41. >: James
  42.  
  43. >- Amir
  44.  
  45. When ps won't work after doing a ps -U that generally means its time to 
  46. recompile the thing. Just recompile and try again and I am positive it will
  47. work. 
  48.  
  49. As far as using diff files, you need to have the patch binary on line. 
  50. Then go to the directory where ps is at and do the next command.
  51.  
  52. patch -p1 < diff >& patch.log &
  53.  
  54. When it is done, grep through the patch.log for the word fail. These are
  55. patches you will have to apply by hand. The FAQ had a good example on
  56. doing this once, don't know if its still in there.
  57.  
  58. James
  59.