.\" -*- coding: UTF-8 -*- .\" Copyright, the authors of the Linux man-pages project .\" .\" SPDX-License-Identifier: GPL-2.0-or-later .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH acct 2 "17 mei 2025" "Linux man\-pages 6.15" .SH NAAM acct \- zet proces accounting aan of uit .SH BIBLIOTHEEK Standard C bibliotheek (\fIlibc\fP,\ \fI\-lc\fP) .SH SAMENVATTING .nf \fB#include \fP .P \fBint acct(const char *_Nullable \fP\fIpath\fP\fB);\fP .fi .P .RS -4 Feature Test Macro´s eisen in glibc (zie \fBfeature_test_macros\fP(7)): .RE .P \fBacct\fP(): .nf .\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8 Vanaf glibc 2.21: _DEFAULT_SOURCE In glibc 2.19 en 2.20: _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500) Tot en met glibc 2.19: _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500) .fi .SH BESCHRIJVING The \fBacct\fP() system call enables or disables process accounting. If called with the pathname of an existing file as its argument, accounting is turned on, and records for each terminating process are appended to the file as it terminates. An argument of NULL causes accounting to be turned off. .SH "EIND WAARDE" Bij succes wordt nul teruggegeven. Bij falen wordt \-1 teruggegeven en wordt \fIerrno\fP overeenkomstig gezet. .SH FOUTEN .TP \fBEACCES\fP Write permission is denied for the specified file, or search permission is denied for one of the directories in the path prefix of \fIpath\fP (see also \fBpath_resolution\fP(7)), or \fIpath\fP is not a regular file. .TP \fBEFAULT\fP \fIpad\fP wijst buiten door u toegankelijke adres ruimte. .TP \fBEIO\fP Error writing to the file \fIpath\fP. .TP \fBEISDIR\fP \fIpath\fP is a directory. .TP \fBELOOP\fP Teveel symbolische koppelingen werden tegengekomen bij het vaststellen van \fIpad\fP. .TP \fBENAMETOOLONG\fP \fIpad\fP was te lang. .TP \fBENFILE\fP De grens aan het aantal open bestanden van het systeem is bereikt. .TP \fBENOENT\fP The specified \fIpath\fP does not exist. .TP \fBENOMEM\fP Geen geheugen meer. .TP \fBENOSYS\fP BSD process accounting werd niet aangezet toen de kernel van het besturingssysteem gecompileerd werd. De kernel configuratie parameter die deze functie bepaald is \fBCONFIG_BSD_PROCESS_ACCT\fP. .TP \fBENOTDIR\fP A component used as a directory in \fIpath\fP is not in fact a directory. .TP \fBEPERM\fP Het aanroepende proces heeft onvoldoende privilege om proces accounting aan te zetten. Op Linux is de \fBCAP_SYS_PACCT\fP capaciteit vereist. .TP \fBEROFS\fP \fIpad\fP verwijst naar een bestand op een alleen\-lezen bestandsysteem. .TP \fBEUSERS\fP Er zijn geen vrije bestandsstructuren meer of er is geen geheugen meer beschikbaar. .SH "VOLDOET AAN" Geen. .SH GESCHIEDENIS .\" SVr4 documents an EBUSY error condition, but no EISDIR or ENOSYS. .\" Also AIX and HP-UX document EBUSY (attempt is made .\" to enable accounting when it is already enabled), as does Solaris .\" (attempt is made to enable accounting using the same file that is .\" currently being used). SVr4, 4.3BSD. .SH OPMERKINGEN Geen accountingnoteringen worden gemaakt voor programma's die draaien als er een ongeluk {eng: crash} optreedt. In het bijzonder: voor nieteindigende programma's worden nooit noteringen gemaakt. .P De structuur van de geschreven records naar het accounting bestand is beschreven in \fBacct\fP(5). .SH "ZIE OOK" \fBacct\fP(5) .PP .SH VERTALING De Nederlandse vertaling van deze handleiding is geschreven door Jos Boersema , Mario Blättermann en Luc Castermans . .PP Deze vertaling is vrije documentatie; lees de .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE of later over de Copyright-voorwaarden. Er is geen AANSPRAKELIJKHEID. .PP Indien U fouten in de vertaling van deze handleiding zou vinden, stuur een e-mail naar .MT debian-l10n-dutch@lists.debian.org .ME .