02.07.2013 Views

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

acct(4) acct(4)<br />

The structure tacct, which resides with the source files of the<br />

accounting commands, represents the total accounting fonnat used<br />

by the various accounting commands.<br />

1*<br />

1* total accounting (for acct period), also for day<br />

1*<br />

struct tacct<br />

uid t ta uid; /* userid */<br />

char ta-name[8]; /* login name */<br />

float ta=cpu[2]; /* cum. cpu time,<br />

p/np (mins) */<br />

float ta_kcore[2]; 1* cum kcore-minutes,<br />

p/np */<br />

float ta_con[2]; /* cum. connect time,<br />

p/np, mins */<br />

float ta_du; /* cum. disk usage */<br />

long ta_pc; 1* count of processes<br />

} ;<br />

unsigned short ta sc; 1* count of login<br />

-<br />

sessions */<br />

unsigned short ta_dc; /* count of disk<br />

samples */<br />

unsigned short ta fee; 1* fee for special<br />

-<br />

services */<br />

SEE ALSO<br />

acct(1M), acctcom(1M), acct(2), exec(2), fork(2).<br />

BUGS<br />

The ac_mem value for a short-lived command gives little information<br />

about the actual size of the command, because ac mem<br />

may be incremented while a different command (for exampk, the<br />

shell) is being executed by the process.<br />

February, 1990<br />

Revision C<br />

2<br />

*/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!