From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e3fd5b21f77f98f8 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-12-10 17:05:32 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!cosy.sbg.ac.at!wzwei From: wzwei@cosy.sbg.ac.at (Wolfgang Zweimueller) Subject: Re: Accounting on DEC-OSF/1 Message-ID: Sender: news@cosy.sbg.ac.at Nntp-Posting-Host: eule Organization: University of Salzburg / Austria X-Newsreader: TIN [version 1.2 PL1] References: <2dvpdi$oc1@netserver.univ-lille1.fr> <2e1bsk$ck3@ecnsun.ecn.nl> Date: Fri, 10 Dec 1993 10:40:36 GMT Marcel Bernards (bernards@ecnsun.ecn.nl) wrote: : |> Hello World, : |> : |> I have a little problem with accounting on DEC OSF/1 : : |> : |> CPU usage of each process (as recorded in /var/adm/pacct) is the sum : |> of the CPU usage of itself and the CPU usage of all his children !!!!!! : |> : |> So, we cannot do CPU accounting on DEC OSF1 (as we need...) : |> : you're right, : We discovered that 2 months agoo and after some tough discussions with DEC NL : they admit that this is indeed a kernel bug. : It's not sure if it will be fixed in 2.0 : It appear that the accounting datastructures are used in the wrong way -- We have the same problem :-( I talked to a person at DEC(Vienna) and she said that this will be fixed in V2.0 (this release will come out in January 1994). I got one example how this will look in this release. a.out is the process which calls find: ACCOUNTING RECORDS FROM: Tue Nov 30 15:31:52 1993 EST COMMAND START END REAL CPU (SECS) NAME USER TTYNAME TIME TIME (SECS) SYS USER a.out gerson ttyp3 15:32:38 15:32:55 17.56 0.02 0.00 find gerson ttyp3 15:32:38 15:32:55 17.52 3.94 0.44 ... Hope this helps, Wolfgang. +------------------------------------+----------------------------------------+ |Wolfgang Zweimueller | Student of Computer Science | |Muhrgasse 9 | at the University of Salzburg | |A-5020 SALZBURG, AUSTRIA | | +------------------------------------+----------------------------------------+ |E-Mail: wzwei@cosy.sbg.ac.at | | |Phone: (0043)662-457583 | | +------------------------------------+----------------------------------------+