*BSD News Article 5003


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!mcsun!sunic!corax.udac.uu.se!astro.uu.se!goran
From: goran@astro.uu.se (Goran Hammarback)
Newsgroups: comp.unix.bsd
Subject: Re: ps -aux yields Floating exception
Date: 14 Sep 1992 12:58:03 GMT
Organization: Uppsala University
Lines: 39
Sender: goran@solaris.astro.uu.se (Goran Hammarback)
Distribution: world
Message-ID: <19228rINNorq@corax.udac.uu.se>
References: <1992Sep13.171803.3954@Urmel.Informatik.RWTH-Aachen.DE>
NNTP-Posting-Host: solaris.astro.uu.se
Keywords: ps FP exception Floating

In article <1992Sep13.171803.3954@Urmel.Informatik.RWTH-Aachen.DE>, kuku@acds.physik.rwth-aachen.de (Christoph Kukulies) writes:
|> 
|> I recently installed a kvm.c patch (though I'm not sure if I installed
|> it completely and c orrect) - anyway, when I do a ps -aux I get
|> the header line of ps (CPU % etc..) and then in the next line a 
|> Floating exception.
|> 
|> Is this a known and already mentioned problem or do I have to 'patch harder'
|> :-)? 


Did you forget to patch ps itself?

From: davidg@agora.rain.com (David Greenman):

*** /usr/src/bin/ps/ps.c.01orig	Mon Jul  1 17:54:45 1991
--- /usr/src/bin/ps/ps.c	Sun Aug  9 05:35:26 1992
***************
*** 78,83 ****
--- 78,84 ----
  
  uid_t	getuid();
  char	*ttyname();
+ double	getpcpu();
  
  char dfmt[] = "pid tt state time command";
  char jfmt[] = "user pid ppid pgid sess jobc state tt time command";


-- 

Goran

------------------------------+---------------------------------
Goran Hammarback              |     goran@astro.uu.se
Astronomiska Observatoriet    |
Uppsala Universitet           |
S-751 20 SWEDEN               |
------------------------------+---------------------------------