From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Liang, Warren" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: rc parameter ACCOUNTING definition Date: Fri, 10 Jan 2003 07:40:31 -0800 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1042213343 6642 80.91.224.249 (10 Jan 2003 15:42:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2003 15:42:23 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18X1IO-0001hu-00 for ; Fri, 10 Jan 2003 16:42:08 +0100 Original-Received: (qmail 27925 invoked by uid 5); 10 Jan 2003 15:43:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27900 invoked by uid 49493); 10 Jan 2003 15:43:06 -0000 Original-Received: from Warren.Liang@sms-ito.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.7/5.0):. Processed in 0.396081 secs); 10 Jan 2003 15:43:06 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 10 Jan 2003 15:43:06 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H8I00KH28ZT8L@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 10 Jan 2003 10:43:05 -0500 (EST) Original-Received: from gate1.smsnet.com (gate1.smsnet.com [198.4.193.130]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H8I00AKD8ZP1R@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 10 Jan 2003 10:43:02 -0500 (EST) Original-Received: from sbreims0.lax.ais.marconi.com (sbreims0.smsnet.com [198.4.195.12]) by gate1.smsnet.com (8.10.0/8.10.0) with ESMTP id h0AFh0e06399 for ; Fri, 10 Jan 2003 07:43:00 -0800 Original-Received: by sbreims0.smsnet.com with Internet Mail Service (5.5.2653.19) id ; Fri, 10 Jan 2003 07:30:28 -0800 Content-return: allowed Original-To: "Majordomo Q&A Tur64 \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:2923 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2923 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