Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: bernards@ecnsun.ecn.nl (Marcel Bernards)
Subject: Re: Accounting on DEC-OSF/1
Date: 7 Dec 1993 08:37:56 +0100	[thread overview]
Message-ID: <2e1bsk$ck3@ecnsun.ecn.nl> (raw)
In-Reply-To: 2dvpdi$oc1@netserver.univ-lille1.fr


|> 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 !" 


  parent reply	other threads:[~1993-12-07  7:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-12-06 17:16 Accounting on DEC-OSF/1 Eric Cassette
1993-12-06 22:41 ` Jeff Carter
1993-12-07  7:37 ` Marcel Bernards [this message]
1993-12-10 10:40   ` Wolfgang Zweimueller
1993-12-07 12:25 ` Wolfgang Zweimueller
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox