|
|
1.1 ! root 1: .TH ACCT 2 ! 2: .CT 2 sa ! 3: .SH NAME ! 4: acct \(mi turn accounting on or off ! 5: .SH SYNOPSIS ! 6: .nf ! 7: .B int acct(file) ! 8: .B char *file; ! 9: .fi ! 10: .SH DESCRIPTION ! 11: .IR Acct , ! 12: with a null-terminated string naming an existing file ! 13: as argument, turns on accounting; ! 14: records for each terminating process are appended to ! 15: .IR file . ! 16: An argument of ! 17: .L ! 18: (char *)0 ! 19: causes accounting to be turned off. ! 20: .PP ! 21: .I Acct ! 22: may only be invoked by the super-user. ! 23: .PP ! 24: The accounting file format is given in ! 25: .IR acct (5). ! 26: .SH "SEE ALSO" ! 27: .IR acct (5), ! 28: .IR sa (8) ! 29: .SH DIAGNOSTICS ! 30: .B EACCES ! 31: (file not a regular file), ! 32: .B EBUSY ! 33: (accounting already turned on), ! 34: .BR EFAULT , ! 35: .BR EIO , ! 36: .BR ELOOP , ! 37: .BR ENOENT , ! 38: .BR ENOTDIR , ! 39: .BR EPERM , ! 40: .BR EROFS , ! 41: .BR ETXTBSY ! 42: .SH BUGS ! 43: No accounting is produced for programs running ! 44: when a crash occurs. ! 45: In particular nonterminating programs are never ! 46: accounted for.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.