*BSD News Article 5049


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!acds.physik.rwth-aachen.de!kuku
From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Subject: Re: ps -aux yields Floating exception
Message-ID: <1992Sep15.095555.26472@Urmel.Informatik.RWTH-Aachen.DE>
Keywords: ps FP exception Floating
Lines: 42
Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
Nntp-Posting-Host: acds.physik.rwth-aachen.de
Reply-To: kuku@acds.physik.rwth-aachen.de
Organization: I.Physikalisches Institut RWTH-Aachen
References: <1992Sep13.171803.3954@Urmel.Informatik.RWTH-Aachen.DE> <19228rINNorq@corax.udac.uu.se>
Date: Tue, 15 Sep 92 09:55:55 GMT
Lines: 42



In article <19228rINNorq@corax.udac.uu.se>, goran@astro.uu.se (Goran Hammarback) writes:
>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";
>
>
>-- 

Yes, I forgot to apply this tiny but essential patch to ps itself. 
--
--Chris
Christoph P. U. Kukulies
kuku@acds.physik.rwth-aachen.de
*** Error code 1
 
Stop.