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-08 13:09:28 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!uknet!EU.net!sun4nl!news.nic.surfnet.nl!ecnits.ecn.nl!bernards From: bernards@ecnsun.ecn.nl (Marcel Bernards) Newsgroups: comp.unix.osf.osf1 Subject: Re: Accounting on DEC-OSF/1 Date: 7 Dec 1993 08:37:56 +0100 Organization: Netherlands Energy Research Foundation (ECN) Sender: bernards@ecnsun (Marcel Bernards) Distribution: world Message-ID: <2e1bsk$ck3@ecnsun.ecn.nl> References: <2dvpdi$oc1@netserver.univ-lille1.fr> NNTP-Posting-Host: ecnsun.ecn.nl Keywords: accounting |> 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...) |> |> Exemple : |> |> % uname -s -v -r |> OSF1 V1.3 111 |> % su user |> Password: |> user% limit cputime 10 |> user% testloop |> Cputime limit exceeded |> user% exit |> user% % acctcom | head |> COMMAND START END REAL CPU MEAN |> NAME USER TTYNAME TIME TIME (SECS) (SECS) SIZE(K) |> % acctcom | grep user |> .... |> boucle user ttypc 18:00:50 18:01:07 17.94 10.05 0.00 |> #csh user ttypc 18:00:40 18:01:11 31.13 10.50 0.00 |> * |> * |> * |> * |> CPU usage of "boucle" + CPU usage of "csh" = 20 secondes... |> |> IMHO, this is not a correct feature. Imagine a "at" job that is charged 4 times |> the correct CPU time... |> |> Any idea will be welcome. |> |> Regards, |> |> -- |> Eric CASSETTE - Centre Interuniversitaire de Traitement de l'Information (CITI) |> Batiment M4 - Universite des Sciences et Technologies de Lille |> 59655 Villeneuve d'Ascq Cedex - France |> Tel: (33) 20 43 40 31, Fax: (33) 20 43 66 25 |> Email: Eric.Cassette@univ-lille1.fr 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 Cheers -- Marcel Bernards, UNIX & Net sysadm Netherlands Energy Research Foundation ECN (and SURFnet IC/ICP), Phone: (+31 /0)2246 4579 Fax: (+31 /0)2246 1864 E-Mail: Bernards@ECN.NL, SnailMail: P.O. Box 1, 1755 ZG Petten SCREAMNet : AAAAAARGHH!HUH?? : Disclaimer: "The AntiChrist is the Computer !"