From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078694111329.tru64-unix-managers.marc@archive.invalid> From: jeffrey.s.horvath () ccmail ! census ! gov Date: Fri, 13 Feb 1998 19:49:51 +0000 To: tru64-unix-managers Subject: DU4.0 Accounting file format X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078694111329 System: 8400 DU4.0a accounting is turned on. Need help understanding the file format for the monthly Accounting files. Can someone please explain file format for fiscrptmm and how one can produce ASCII reports form this file. Also runacct doesn't produce /var/adm/acct/sum/rprtmmd files. adm runs following: # OSF/1 Release 1.0 0 2 * * 1-6 /usr/sbin/acct/runacct > /usr/adm/acct/nite/fd2log & 5 * * * * /usr/sbin/acct/ckpacct & 0 4 1 * * /usr/sbin/acct/monacct & 10 3 * * * /usr/sbin/ac -p /var/adm/acct/nite/timelog & 0 3 * * 4 /usr/sbin/acct/dodisk > /var/adm/diskdiag & My understanding is that /var/adm/acct/fiscal should contain the results of monacct process which is monthly summary accounting files. Being an accounting summary I would thing the fiscrptmm is in the tacct format. What format is fiscrptmm in? How do I produce ASCII reports of this data? The following is an awk script print out. As you can see the field format is not consistant. awk BEGIN {OFS=":" } {print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17} # Beginning of fiscrptmm looks like found # awk -f rpt.com fiscrpt02 :::::::::::::::: :::::::::::::::: Feb:1:04:00:1998:Page:1::::::::::: :::::::::::::::: :::::::::::::::: UID:LOGNAME:PRI_MEM:NPRI_MEM:PRI_CONNECT:NPRI_CONNECT:DSK_BLOCKS:PRINT :FEES::::: ::: 0:TOTAL:437223741462:833018129669:17291185:10449217:0:0:0:::::::: 0:root:1983731929:7821188155:1521965:1768859:0:0:0:::::::: 1:daemon:0:0:0:0:0:0:0:::::::: 10:adm:0:195:0:0:0:0:0:::::::: 1000:oracle:3084496051:1279752557:256637:1013714:0:0:0:::::::: 1341:croesle:0:0:321783:87441:0:0:0:::::::: 1363:ebishop:0:0:588:7712:0:0:0:::::::: 1366:jseibert:0:0:298:0:0:0:0:::::::: 1369:rcappett:0:0:544:0:0:0:0:::::::: 1841:tsiemer:0:0:1954:1517:0:0:0:::::::: 1852:rvendrye:0:0:4395:0:0:0:0:::::::: 1862:jmaus:0:0:19344:2872:0:0:0:::::::: 1882:sreed:0:0:0:68:0:0:0:::::::: 2159:cbrooks:8830993:0:1565:1468:0:0:0:::::::: 2261:bguss:0:0:26190:62439:0:0:0:::::::: 2443:dbarnwel:77120:7837:391204:55793:0:0:0:::::::: 2965:dfischer:0:0:4825:1305:0:0:0:::::::: 3086:dlargent:0:0:2057:10402:0:0:0:::::::: 3204:gqueen:0:0:7628:309:0:0:0:::::::: 3503:rwashing:102993401523:15708442166:0:0:0:0:0:::::::: 3690:rcarball:0:0:6057:0:0:0:0:::::::: 3735:vgillis:0:0:7028:0:0:0:0:::::::: 3847:ishearer:0:0:17272:1182:0:0:0:::::::: 4525:gadams:0:0:111918:29983:0:0:0:::::::: 4537:lallen:0:0:1090:0:0:0:0:::::::: 4580:jbarrack:5451893:2013231:83053:16111:0:0:0:::::::: 4596:jebeck:510247:0:24815:56955:0:0:0:::::::: 4604:jbelton:0:0:7019:0:0:0:0:::::::: 4653:pbowling:0:0:21818:0:0:0:0:::::::: 4676:ecbrown:0:0:142:0:0:0:0:::::::: 4737:slantz:0:0:0:29602:0:0:0:::::::: 4761:tclark:2495:0:387925:189223:0:0:0:::::::: 4820:lcuppy:13368660999:30414000318:652074:722733:0:0:0:::::::: 4828:edavey:0:0:3560:2880:0:0:0:::::::: 4848:tdevine:18004432:60815938:88198:10355:0:0:0:::::::: 4853:edillard:0:0:5944:2059:0:0:0:::::::: 4864:wdollar:0:31132552:38299:9646:0:0:0:::::::: 4890:ddyson:0:0:16244:1785:0:0:0:::::::: 4898:sburnett:474:0:158650:24222:0:0:0:::::::: 4915:sfarren:0:0:8492:0:0:0:0:::::::: 4922:sfields:0:0:8713:1040:0:0:0:::::::: 4926:dfitch:1471929003:1057318722:431497:276589:0:0:0:::::::: 4954:cgallett:0:0:49668:11484:0:0:0:::::::: 4958:kfeather:203481569:153191707:326781:64035:0:0:0:::::::: 5019:mhammett:0:0:13706:3854:0:0:0:::::::: 5029:nharley:0:0:158514:43179:0:0:0:::::::: 5056:dheiston:0:0:17410:49359:0:0:0:::::::: 5071:jhill:0:0:3844:5587:0:0:0:::::::: 5111:mamoore:503277:0:0:0:0:0:0:::::::: 5121:jjackson:1700139:0:0:0:0:0:0:::::::: 5129:kjarboe:159699:11733:422540:80593:0:0:0:::::::: 5158:mjordan:330406:58241:193884:96755:0:0:0:::::::: 5200:nknicely:339751263:290419231:123632:17916:0:0:0:::::::: 5215:kkreilic:0:0:67870:0:0:0:0:::::::: 5218:blyons:25243435389:5004485498:283318:202968:0:0:0:::::::: :::::::::::::::: :::::::::::::::: :::::::::::::::: :::::::::::::::: :::::::::::::::: :::::::::::::::: :::::::::::::::: Feb:1:04:00:1998:Page:2::::::::::: The end looks like 00-00-00:tcrosby:98-01-24:lallen:98-01-30:nknicely::::::::::: 00-00-00:tdevans:98-01-24:lmiller:98-01-30:rpenny::::::::::: 00-00-00:tfelton:98-01-24:mdenniso:98-01-30:sburnett::::::::::: :::::::::::::::: :::::::::::::::: :::::::::::::::: :::::::::::::::: :::::::::::::::: :::::::::::::::: :::::::::::::::: Jan:31:02:00:1998:LAST:LOGIN:Page:3::::::::: :::::::::::::::: :::::::::::::::: 98-01-30:tclark:98-01-31:gschoch:98-01-31:mjordan::::::::::: 98-01-30:tdevine:98-01-31:hutz:98-01-31:mkubacki::::::::::: 98-01-31:blyons:98-01-31:hwoodall:98-01-31:mraulin::::::::::: 98-01-31:camsadm:98-01-31:jbarrack:98-01-31:mreyes::::::::::: 98-01-31:cgallett:98-01-31:jgerard:98-01-31:mzinna::::::::::: jeffrey.s.horvath@ccmail.census.gov