table of contents
other versions
- stretch 4.9.168-1
SYS_ACCT(9) | Accounting Framework | SYS_ACCT(9) |
NAME¶
sys_acct - enable/disable process accountingSYNOPSIS¶
long sys_acct(const char __user * name);
ARGUMENTS¶
namefile name for accounting records or NULL to shutdown
accounting
DESCRIPTION¶
Returns 0 for success or negative errno values for failure.sys_acct is the only system call needed to implement process accounting. It takes the name of the file where accounting records should be written. If the filename is NULL, accounting will be shutdown.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |