mirror of https://github.com/mkerrisk/man-pages
Add a few more words to DESCRIPTION.
NOTES: Add pointer to acct(5).
This commit is contained in:
parent
aaed8ba0f9
commit
3cde6db55c
15
man2/acct.2
15
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)
|
||||
|
|
Loading…
Reference in New Issue