Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lll-winken!uunet!steinmetz!crdgw1!crdgw1.ge.com!barnett From: barnett@crdgw1.crd.ge.com (Bruce Barnett) Newsgroups: comp.unix.questions Subject: Re: CPU usage > real time Keywords: Accounting, sa.c Message-ID: <79@crdgw1.crd.ge.com> Date: 29 Mar 89 03:03:21 GMT References: <3914@bgsuvax.UUCP> Sender: news@crdgw1.crd.ge.com Reply-To: barnett@crdgw1.crd.ge.com (Bruce Barnett) Organization: GE Corp. R & D, Schenectady, NY Lines: 15 In-reply-to: jain@bgsuvax.UUCP (Rajiv) In article <3914@bgsuvax.UUCP>, jain@bgsuvax (Rajiv) writes: >Number of seconds CPU was busy was actually greater by almost 1/2 a million >seconds than the actual number of seconds in a 31 days month. On a bsd system the values are added to the system when the job ends. Accounting does not accumulate CPU seconds while the job is running. You could be running a process for weeks, and when it terminates, the totals are added. It gives strange daily results. Also make sure you turn off accounting when you execute rdate. We got some negative CPU values this way. -- Bruce G. Barnett a.k.a. uunet!steinmetz!barnett,