Imported upstream version 1.5
[manpages-zh.git] / src / man5 / acct.5
blob1c2915bf8ad34df9ac1724a142f529ca2819a44b
1 .\" Copyright (c) 1995 Dirk Eddelbuettel (Dirk.Eddelbuettel@qed.econ.queensu.ca)
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" The GNU General Public License's references to "object code"
9 .\" and "executables" are to be interpreted as the output of any
10 .\" document formatting or typesetting system, including
11 .\" intermediate and printed output.
12 .\"
13 .\" This manual is distributed in the hope that it will be useful,
14 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 .\" GNU General Public License for more details.
17 .\"
18 .\" You should have received a copy of the GNU General Public
19 .\" License along with this manual; if not, write to the Free
20 .\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
21 .\" USA.
22 .\"
23 .TH ACCT 5 "1995 October 31" "Debian/GNU Linux"
25 .SH NAME
26 acct \- 执行体(execution)会计文件
28 .SH "总览 (SYNOPSIS)"
29 .B #include <sys/acct.h>
31 .SH "描述 (DESCRIPTION)"
32 内核 对 所有的进程 维护了 一个 会计信息结构 .
33 当 一个 进程 结束后, 如果 开启了 进程会计, 内核 就 调用
34 .BR acct (2)
35 函数 生成 该进程 的 会计记录, 然后 添加到 会计文件 (accounting file) 中.
36 文件
37 .IR /usr/include/linux/acct.h 
38 中 有对 会计结构
39 .B "struct  acct"
40 的 描述.
42 .SH "另见 (SEE ALSO)"
43 .BR acct (2),
44 .BR sa (1).
46 .SH "[中文版维护人]"
47 .B 徐明 <xuming@users.sourceforge.net>
48 .SH "[中文版最新更新]"
49 .BR 2003/05/13
50 .SH "《中国Linux论坛man手册页翻译计划》"
51 .BI http://cmpp.linuxforum.net