Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!columbia!rutgers!ames!ptsfa!ihnp4!homxb!whuts!paul From: paul@whuts.UUCP (HO) Newsgroups: comp.unix.questions Subject: Re: System Accounting Message-ID: <2542@whuts.UUCP> Date: Tue, 4-Aug-87 10:35:20 EDT Article-I.D.: whuts.2542 Posted: Tue Aug 4 10:35:20 1987 Date-Received: Thu, 6-Aug-87 06:54:04 EDT References: <32128@auc.UUCP> Organization: AT&T Bell Laboratories Lines: 23 Keywords: accounting In article <32128@auc.UUCP>, maw@auc.UUCP writes: > I am presently working on a system accounting program for our systems > that are running SYSTEM V Ver 2.0 2 UNIX. The program should total the cpu > time, connect time, and disk usage for each login according to which group > they belong. Won't a simple awk script do? > However, I run into some problems that I have traced back to > the structure that I assumed the data file tacctMMDD was in. The following > is my assumption of the structure: See acct(4). > Also, if anyone knows if, for any reason other than system > crashes and the like, the data > file tacctMMDD could become corrupt ..... Possible, if you have a corrupted pacct and wtmp to begin with. The acct package tries to fix certain corrupted entries, but in general acct is pretty dumb. Paul Ho