1SYS_ACCT(9) Accounting Framework SYS_ACCT(9)
2
3
4
6 sys_acct - enable/disable process accounting
7
9 long sys_acct(const char __user * name);
10
12 name
13 file name for accounting records or NULL to shutdown accounting
14
16 Returns 0 for success or negative errno values for failure.
17
18 sys_acct is the only system call needed to implement process
19 accounting. It takes the name of the file where accounting records
20 should be written. If the filename is NULL, accounting will be
21 shutdown.
22
24Kernel Hackers Manual 2.6. November 2011 SYS_ACCT(9)