tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Liang, Warren" <Warren.Liang@sms-ito.com>
Subject: SUMMARY: rc parameter ACCOUNTING definition
Date: Fri, 10 Jan 2003 07:40:31 -0800	[thread overview]
Message-ID: <AF9E3CE19AFBD411B16000508BD96821010A9229@sbremsx0.smsnet.com> (raw)

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



                 reply	other threads:[~2003-01-10 15:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox