*BSD News Article 20854


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!network.ucsd.edu!dog.ee.lbl.gov!agate!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
From: nate@bsd.coe.montana.edu (Nate Williams)
Newsgroups: comp.os.386bsd.questions
Subject: Re: where is acct() ?
Date: 13 Sep 1993 16:02:08 GMT
Organization: Montana Stateu University, Bozeman  MT
Lines: 38
Message-ID: <2725i0$8hp@pdq.coe.montana.edu>
References: <26obn5INN64c@xs4all.hacktic.nl> <CD7w77.Luu@ns1.nodak.edu>
NNTP-Posting-Host: bsd.coe.montana.edu

In article <CD7w77.Luu@ns1.nodak.edu>,
Mark Tinguely <tinguely@plains.NoDak.edu> wrote:
> procees accounting was not in the original Net-2 distribution. I see from
> the NetBSD 0.9 announcement that they have implemented process accounting.
> Seperately I have implemented process accounting and most of the stats
> used in the rusage structure (read using getrusage()).
>
> Nate has a copy of my kernel changes (and I don't know if he tried it because
> he has been busy). I have a start of the sa program that I used to test the
> kernel code, but was hoping to pick up an existing copy.

You'd have to look in 4.4 to see if 'sa' has been freed, but we wouldn't
see it unless someone released it on the net.

> I also have not looked at FreeBSD (for lack of disk space) to see if the
> changes I made will simply move over from a patched 0.1. Maybe Nate is
> in a better position to say if they would go cleanly into FreeBSD.

They fit in very nicely, thank you.  The reason they didn't get into FreeBSD
was because of the proposed merger.  I am running them on my box, and I'm
very happy with them.  (But gee they start to use up disk space, so they
aren't used much).

> If this found useful and clean, I am certainly willing to share my files
> for process accounting.

As far as clean, from looking at the diffs, they appear to me (the clueless
uninformed kernel hacker that I am) to be easily understandable.  If you
are interested in them against FreeBSD, I could probably make up a set of
diffs and put the up for anon. ftp.


Nate
-- 
nate@bsd.coe.montana.edu     |  In the middle of it ........ again. 
nate@cs.montana.edu          |  Running/supporting one of many freely available 
work #: (406) 994-4836       |  Operating Systems for [34]86 machines.
home #: (406) 586-0579       |  (based on Net/2, name changes all the time :-)