Operating System - HP-UX
1833587 Members
3580 Online
110061 Solutions
New Discussion

system account monitoring

 
SOLVED
Go to solution
lawrenzo
Trusted Contributor

system account monitoring

Hello,

My system is creating /var/adm/pacct files and Spacct files every week and a file is created every 2 hour for that day.

I have checked the man pages forckacct and this reference's the pacct file however how can I find out what program is creating the file and can the old files be deleted?

Thanks
hello
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: system account monitoring

Hi:

See the manpages for 'acctcom (1M)'.

Regards!

...JRF...

lawrenzo
Trusted Contributor

Re: system account monitoring

Thanks James,

So I now understand why the files are being created however how can I find what is running to cause these files to be produced weekly - there is nothing in cron?

Thanks
hello
James R. Ferguson
Acclaimed Contributor
Solution

Re: system account monitoring

Hi:

Start by looking at the manpage for 'acctsh(1M)'. Specifically see:

# /usr/sbin/acct/turnacct on | off | switch

Regards!

...JRF...

lawrenzo
Trusted Contributor

Re: system account monitoring

Thanks James, loggin is not required here.
hello