SUMMARY: rc parameter ACCOUNTING definition

From: Liang, Warren (Warren.Liang@sms-ito.com)
Date: Fri Jan 10 2003 - 10:40:31 EST


Good Morning:

Thanks to Dr. Thomas Blinn, Markus Waldorf, Steve Thompson, and Jim Belonis.
I am posting Dr. Blinn's response:

If you want to handle the accounting startup tasks yourself (as you
did manually in getting this started), then you should not need to
define ACCOUNTING as YES in the rc.config* files. If you look at
the startup scripts in /sbin/init.d you should easily find the one
or more that look at that variable; see what they are doing, it's a
good place to start for defining your own script to turn one just as
much as you need. But if you hack the system's standard scripts,
your changes will disappear if you ever update the system, and they
might cause problems with patch kits. So just use what's there as a
"guideline".

My original posting is:

Does rc parameter ACCOUNTING need to be defined as YES in order to collect
process accounting records? On a Tru64 V4.0D system, command "#rcmgr get
ACCOUNTING" returns a null. I use nulladm to create /var/adm/pacct file, and
then execute command "#accton /var/adm/pacct" to enable the process
accounting. The size of file pacct grows and commands lastcomm and acctcom
display process accounting records. Since the process accounting information
is the only function we need, so far, do I need to define ACCOUNTING to YES?

Warren



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:03 EDT