home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5672 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.6 KB

  1. Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!astro.uu.se!goran
  2. From: goran@astro.uu.se (Goran Hammarback)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: ps -aux yields Floating exception
  5. Date: 14 Sep 1992 12:58:03 GMT
  6. Organization: Uppsala University
  7. Lines: 39
  8. Sender: goran@solaris.astro.uu.se (Goran Hammarback)
  9. Distribution: world
  10. Message-ID: <19228rINNorq@corax.udac.uu.se>
  11. References: <1992Sep13.171803.3954@Urmel.Informatik.RWTH-Aachen.DE>
  12. NNTP-Posting-Host: solaris.astro.uu.se
  13. Keywords: ps FP exception Floating
  14.  
  15. In article <1992Sep13.171803.3954@Urmel.Informatik.RWTH-Aachen.DE>, kuku@acds.physik.rwth-aachen.de (Christoph Kukulies) writes:
  16. |> 
  17. |> I recently installed a kvm.c patch (though I'm not sure if I installed
  18. |> it completely and c orrect) - anyway, when I do a ps -aux I get
  19. |> the header line of ps (CPU % etc..) and then in the next line a 
  20. |> Floating exception.
  21. |> 
  22. |> Is this a known and already mentioned problem or do I have to 'patch harder'
  23. |> :-)? 
  24.  
  25.  
  26. Did you forget to patch ps itself?
  27.  
  28. From: davidg@agora.rain.com (David Greenman):
  29.  
  30. *** /usr/src/bin/ps/ps.c.01orig    Mon Jul  1 17:54:45 1991
  31. --- /usr/src/bin/ps/ps.c    Sun Aug  9 05:35:26 1992
  32. ***************
  33. *** 78,83 ****
  34. --- 78,84 ----
  35.   
  36.   uid_t    getuid();
  37.   char    *ttyname();
  38. + double    getpcpu();
  39.   
  40.   char dfmt[] = "pid tt state time command";
  41.   char jfmt[] = "user pid ppid pgid sess jobc state tt time command";
  42.  
  43.  
  44. -- 
  45.  
  46. Goran
  47.  
  48. ------------------------------+---------------------------------
  49. Goran Hammarback              |     goran@astro.uu.se
  50. Astronomiska Observatoriet    |
  51. Uppsala Universitet           |
  52. S-751 20 SWEDEN               |
  53. ------------------------------+---------------------------------
  54.