From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e4d7852bd46ef84d,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-22 10:36:03 PST Path: gmd.de!urmel.informatik.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!hrz-ws11.hrz.uni-kassel.de!news.th-darmstadt.de!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!torn!news.unb.ca!upei.ca!peinet.pe.ca!peinet.pe.ca!not-for-mail From: obrien@bud.peinet.pe.ca (Kevin O'Brien) Newsgroups: comp.unix.osf.osf1 Subject: How to best manage user activity/space accounting Date: 21 Mar 1994 16:43:12 -0400 Organization: PEINet, Charlottetown, Prince Edward Island, Canada Distribution: world Message-ID: <2ml0t0$3k2@bud.peinet.pe.ca> NNTP-Posting-Host: bud.peinet.pe.ca Keywords: accounting script activity I need help with activity accounting. I need to monitor: connect time disk use (including /usr/spool/mail/ It would be nice if I could print invoices with the user charges on them. Our pricing includes charges for: connect time in excess of the base amount disk use in excess of base amount We have prime and nonprime hours of the day. I thought someone might have already done something like this with the files in /usr/sbin/acct. (I find the man pages just a triffle terse on this topic and I am unfortuantely a bit too new with OSF/1 to be able to pull this together from scratch in the amount of time I have left to get it done.) So, any help would be greatly appreciated and the sender will have lavish thanks accorded to her/him. (Watch me, I will!) Also, the issue of processes not dying when a modem connection is prematurely broken is a concern to me. It was explained to me that this is a "feature" of OSF/1 so that users could leave a process running and log out so that they could get work done and did not have to tie up a modem or terminal. Which is nice . My question becomes, is it also a "feature" of OSF/1 to permit a process that is doing NO WORK to hang around and take up space/brain-power? Surely there must be a kernel parameter (or something) to set that will make OSF deal with orphans the way (most?) other UNIX's do. Anyone have any ideas? (someone suggested something in the .logout file, but I don't think it gets executed on an abnormal termination... right?) -- +---------------------------------------------------------------------------+ | Kevin O'Brien | Network Analyst PEINet | obrien@peinet.pe.ca | This space | | P.O. Box 3126 | Charlottetown P. E. I. | Canada, C1A- 7N9 | for rent. | +---------------------------------------------------------------------------+