SUNWaccu
A typical sequence for performing daily command accounting and for maintaining a running total is:
example% acctcms filename ... > todayexample% cp total previoustotalexample% acctcms -s today previoustotal > totalexample% acctcms -a -s today