Sponsored Content
Full Discussion: System Accounting
Special Forums Cybersecurity System Accounting Post 10372 by pc9456 on Tuesday 13th of November 2001 11:23:47 AM
Old 11-13-2001
Computer System Accounting

How do I enable System Accounting on Solaris 8? In Solaris 7 I would copy the /usr/lib/acct file to S22acct and start it like that. That doesn't seem to be an option in Solaris 8.

Thanks for your help!
 

5 More Discussions You Might Find Interesting

1. Programming

utmp ACCOUNTING

the utmp.h ACCOUNTING macro is set to 9 on my system. my question is: what "accounting" is it referring to? (2 Replies)
Discussion started by: thmnetwork
2 Replies

2. UNIX for Advanced & Expert Users

Accounting Process

Hi, I need to know , if there is some routine like a function "accton" to accounting process for HP-UX, because I need accounting the command executed for users and is necesary that include the argumments of command but the file "paccton" generated for function "accton" doesn't include them. ... (0 Replies)
Discussion started by: hvazquez
0 Replies

3. UNIX for Advanced & Expert Users

Special accounting information

I need to figure out why did the system run out of memory and hung at a certain time. For further investigation, the info about every processes' CPU and memory consumption over time would be of high value. I see, that Unix accounting may be of some help. But I'm not sure if I can get this... (3 Replies)
Discussion started by: descentspb
3 Replies

4. UNIX for Dummies Questions & Answers

process accounting

When i run #acctadm command it shows it as inactive but /var/adm/pacct file has todays date such as -rw-r--r-- 1 adm adm 182397160 Mar 25 15:48 pacct # acctadm Task accounting: inactive Task accounting file: none Tracked task resources: none Untracked... (5 Replies)
Discussion started by: Tirmazi
5 Replies

5. UNIX and Linux Applications

Accounting Software

GNUCash - There is documented problem with auto-fill; ie, that it cannot be turned off. It will delete 1/2 of a transaction. I have searched the internet and have not been able to make any of the "work arounds" work. I have also contacted the email lists, to no avail. This is open source,... (3 Replies)
Discussion started by: Meow613
3 Replies
acct(5) 							File Formats Manual							   acct(5)

Name
       acct - execution accounting file

Syntax
       #include <sys/acct.h>

Description
       The  system  call makes entries in an accounting file for each process that terminates.	The accounting file is a sequence of entries whose
       layout, as defined by the include file, is:
       typedef u_short comp_t
       struct  acct
       {
	       char    ac_comm[10];   /* Accounting command name */
	       comp_t  ac_utime;      /* Accounting user time */
	       comp_t  ac_stime;      /* Accounting system time */
	       comp_t  ac_etime;      /* Accounting elapsed time */
	       time_t  ac_btime;      /* Beginning time */
	       short   ac_uid;	      /* Accounting user ID */
	       short   ac_gid;	      /* Accounting group ID */
	       short   ac_mem;	      /* average memory usage */
	       comp_t  ac_io;	      /* number of disk IO blocks */
	       dev_t   ac_tty;	      /* control typewriter */
	       char    ac_flag;       /* Accounting flag */
       };

       #define AFORK   0001    /* has executed fork, but no exec */
       #define ASU     0002    /* used super-user privileges */
       #define ACOMPAT 0004    /* used compatibility mode */
       #define ACORE   0010    /* dumped core */
       #define AXSIG   0020    /* killed by a signal */
       #define AHZ     64      /* the accuracy of data is 1/AHZ */

       #ifdef KERNEL
       struct  acct    acctbuf;
       struct  gnode   *acctp;
       #endif
       If the process does an the first 10 characters of the file name appear in ac_comm.  The accounting flag contains  bits  indicating  whether
       was ever accomplished and whether the process ever had superuser privileges.

See Also
       acct(2), execve(2), sa(8)

								       RISC								   acct(5)
All times are GMT -4. The time now is 11:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy