WOLF%MCL3.SAINET.MFENET@nmfecc.arpa (04/04/88)
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@NMFECC.ARPA