sys_acct — enable/disable process accounting
long sys_acct ( | const char __user * name) ; |
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.