1852000 Members
6155 Online
104063 Solutions
New Discussion

Re: Accounting ...

 
SOLVED
Go to solution
Krishnan Viswanathan
Frequent Advisor

Accounting ...

The /var/adm/pacct file has stopped collecting data on one of my systems for the last one month.

Which is the associated process ? On other systems, I dont see any "acct" process, however they are still collecting the data..

Thanks
11 REPLIES 11
Helen French
Honored Contributor

Re: Accounting ...

Hi Iyer,

The process name is /usr/lib/acct/accton.

You may have some configuration issues. Check this out for useful help:

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=51a0cfed053b1e2fb0/screen=ckiDisplayDocument?docId=200000058668918

HTH,
Shiju

Life is a promise, fulfill it!
Vladislav Demidov
Honored Contributor

Re: Accounting ...

Hello Krishnan,
Try to run the next command
accton
Krishnan Viswanathan
Frequent Advisor

Re: Accounting ...

thanks but I dont see any "accton" process running anywhere, how are the systems collecting the data then ?
Helen French
Honored Contributor

Re: Accounting ...

Hi Iyer,

The /etc/rc.config.d/acct file should have an entry "START_ACCT" and should be set to 1.

Some more information here:

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=51a0cfed053b1e2fb0/screen=ckiDisplayDocument?docId=200000047120329

HTH,
Shiju

Life is a promise, fulfill it!
Pal Szabo_1
Valued Contributor

Re: Accounting ...

Process accounting done by HPUX on kernel level.
You don't need accounting daemons or processes.

You can switch on accounting
/usr/sbin/acct/accton /var/adm/pacct

Or off
/usr/sbin/acct/accton

You can check if it is on->
pacct file is growing with every new ls command.
Or it is off->
pacct file not modified with new ls commands


See the acct (1m) manpage
Krishnan Viswanathan
Frequent Advisor

Re: Accounting ...

Okay, thanks guys.

Can someone tell me how to find links to old questions/answers in "forums" ?

The search link on the left side of this page is just the general search item and doesnt relate to forums exclusively .

Thanks
Christopher McCray_1
Honored Contributor
Solution

Re: Accounting ...

When you click on that search link and enter in your search string, you also need to go and click the check box that says Community Forums, which will limit your search.


Hope this helps.

Chris
It wasn't me!!!!
Helen French
Honored Contributor

Re: Accounting ...

Hi Iyer,

Select Community forums in this link and enter your name, that will list your postings:

http://us-support2.external.hp.com/emse/bin/doc.pl/sid=7c87bc9214175cd433/screen=emseHome

HTH,
Shiju
Life is a promise, fulfill it!
Kristopher March
Regular Advisor

Re: Accounting ...

What is the size of your /var/adm/pacct file?

There is a 2.5mb limit set by HP.

"This ain't no burger flippin job!"
Allan Campbell
Advisor

Re: Accounting ...

Why the 2.5mb limit and can that be changed? I am having a problem with the /usr/sbin/acct/runacct command. Within the runacct command the acctmerg command tells me "file limit exceeded". I have traced this to too man files in the /var/adm/pacct*. With the amount of accounting records on my systems, my ckpacct job creates a new pacct* every 10 minutes. I cannot use ckpacct because then I am over the 2.5mb limit. Any suggestions?
Pete Randall
Outstanding Contributor

Re: Accounting ...

Allen,

It's nice to see that you're using the search function but you'd have much better luck starting your own, new thread. You'll be able to specify a subject that will properly identify your question, giving you better responses and you'll be able to indicate to other searchers what worked for you by assigning points to the replies.

Pete

Pete