From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a5d337c24f03789a,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,a5d337c24f03789a,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-05-10 12:08:43 PST Xref: gmd.de comp.unix.osf.osf1:377 comp.sys.dec:7595 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!uwm.edu!caen!lsa.umich.edu!U.Chem.LSA.UMich.EDU!hillig From: hillig@U.Chem.LSA.UMich.EDU (Kurt Hillig) Newsgroups: comp.unix.osf.osf1,comp.sys.dec Subject: Accounting on Alpha OSF/1.2 Date: 10 May 1993 18:54:46 GMT Organization: Department of Chemistry, University of Michigan, Ann Arbor Distribution: world Message-ID: <1sm8dm$sqi@controversy.math.lsa.umich.edu> NNTP-Posting-Host: u.chem.lsa.umich.edu I've got a seed Alpha 3000/500 running OSF 1.2. Part of our evaluation is based on having the ability to keep track of CPU time and disk use of the users - since the Powers That Be have decreed that there ain't no more free computing here.... I've suffered through the barely usable accounting in Ultrix, and beaten my head bloody on the useless accounting in AIX (well, as of 3.2 it finally works), and been fairly happy with accounting in Irix (but I wish SGI would update it so the disk accounting worked with NIS), so I'd hoped that a new "thoroughly modern" OS like OSF/1 might actually have a fully-functional accounting package finally. Well, I've gone through the man pages and set up accounting as described, i.e. edited /usr/spool/cron/crontabs/adm and added the lines: 0 2 * * * /usr/sbin/acct/runacct > /usr/adm/acct/nite/fd2log & 5 * * * * /usr/sbin/acct/ckpacct & 0 3 1 * * /usr/sbin/acct/monacct & (ignoring disk accounting for now.) Unfortunately, this doesn't generate any output files. Being (so I thought) clever, I ran some of these commands by hand. Once, runacct coredumped with a segmentation fault; a few times it gave unaligned access errors in acctcon2 and acctprc1; occasionally it appears to run without errors - but _only_ when run manually, not from cron. What is particularly annoying - aside from it not working, I mean - is that when I took a look at the output generated when I ran it manually, it doesn't report the CPU time used! Instead - just like AIX 3.1 - the best I can get is the _memory_ use per user (which I don't care about), and the CPU use _per command_ (which I also can't get any usefulinformation from). I hate to flame people, but this was dumb when IBM did it this way, and I thought DEC was smarter. Or is it just that I'm missing something here (in which case I apologize for the mis-directed flame, and humbly request enlightenment)? When will accounting work in a useful way for OSF/1? -- Dr. Kurt Hillig Dept. of Chemistry I always tell the phone (313)747-2867 University of Michigan absolute truth X.500 khillig@umich.edu Ann Arbor, MI 48109-1055 as I see it. hillig@chem.lsa.umich.edu