Resource Accounting
WOLF%MCL3.SAINET.MFENET at nmfecc.arpa
WOLF%MCL3.SAINET.MFENET at nmfecc.arpa
Mon Apr 4 15:30:32 AEST 1988
I am having a problem with resource accounting on my Convex C1-XP. It
runs Convex UNIX, which is BSD 4.2 with some additions. I am presently
using two files to collect accounting information, one for full-cost,
and one for night-time discounts. I have lines in my crontab like:
00 06 * * * /etc/accton
00 18 * * * /etc/accton /usr/adm/nite_acct
which work as expected. There is one problem: when a process is begun
in one time frame and does not complete until the other time frame, all
of the CPU time is "charged" to the latter. I know that a process
doesn't have a complete resource count until completion, but does
anyone out there know of a way to write the information to the present
accounting file, THEN switch to the other file and write the remainder?
Any input would be appreciated. Thanks.
Andy Wolf WOLF%MCL3.SAINET at NMFECC.ARPA
More information about the Comp.unix.questions
mailing list