diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-11 22:42:23 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-11 22:42:23 +0000 |
commit | 3cde6db55c05eb6c55421ca2680dc4e10034ac9b (patch) | |
tree | 0e5e605316adea3bcb3b0fa0d713ec480634260b /man2/acct.2 | |
parent | aaed8ba0f91191225938bd4621239bbefe84e354 (diff) |
Add a few more words to DESCRIPTION.
NOTES: Add pointer to acct(5).
Diffstat (limited to 'man2/acct.2')
-rw-r--r-- | man2/acct.2 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/man2/acct.2 b/man2/acct.2 index 815e9726..212ed004 100644 --- a/man2/acct.2 +++ b/man2/acct.2 @@ -29,7 +29,7 @@ .\" Modified 1998-11-04 by Tigran Aivazian <tigran@sco.com> .\" Modified 2004-05-27, 2004-06-17, 2004-06-23 by Michael Kerrisk .\" -.TH ACCT 2 2007-07-26 "Linux" "Linux Programmer's Manual" +.TH ACCT 2 2008-06-16 "Linux" "Linux Programmer's Manual" .SH NAME acct \- switch process accounting on or off .SH SYNOPSIS @@ -49,8 +49,12 @@ Feature Test Macro Requirements for glibc (see .BR acct (): _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500) .SH DESCRIPTION -When called with the name of an existing file as argument, accounting is -turned on, records for each terminating process are appended to +The +.BR acct() +system call enables or disables process accounting. +If called with the name of an existing file as its argument, +accounting is turned on, +and records for each terminating process are appended to \fIfilename\fP as it terminates. An argument of NULL causes accounting to be turned off. .SH "RETURN VALUE" @@ -131,7 +135,10 @@ SVr4, 4.3BSD (but not POSIX). .\" (attempt is made to enable accounting using the same file that is .\" currently being used). .SH NOTES -No accounting is produced for programs running when a crash occurs. +No accounting is produced for programs running when a system crash occurs. In particular, non-terminating processes are never accounted for. + +The structure of the records written to the accounting file is described in +.BR acct (5). .SH "SEE ALSO" .BR acct (5) |