.\" -*- coding: UTF-8 -*- .\" Copyright (c) 1993 Michael Haardt .\" (michael@moria.de), .\" Fri Apr 2 11:32:09 MET DST 1993 .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" The GNU General Public License's references to "object code" .\" and "executables" are to be interpreted as the output of any .\" document formatting or typesetting system, including .\" intermediate and printed output. .\" .\" This manual is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public .\" License along with this manual; if not, see .\" . .\" %%%LICENSE_END .\" .\" Modified 1993-07-22 by Rik Faith .\" Modified 1993-08-10 by Alan Cox .\" Modified 1998-11-04 by Tigran Aivazian .\" Modified 2004-05-27, 2004-06-17, 2004-06-23 by Michael Kerrisk .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH ACCT 2 "15 maart 2016" Linux "Linux Programmeurs Handleiding" .SH NAAM acct \- zet proces accounting aan of uit .SH SAMENVATTING .ad l .nf \fB#include \fP .PP \fBint acct(const char *\fP\fIbestandsnaam\fP\fB);\fP .fi .ad b .PP .RS -4 Feature Test Macro´s eisen in glibc (zie \fBfeature_test_macros\fP(7)): .RE .PP \fBacct\fP(): .nf .\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8 Sinds 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 De \fBacct\fP() systeem aanroep schakelt systeem accounting aan of uit. Indien hij wordt aangeroepen met de naam van een bestaand bestand in zijn argument dan wordt accounting aangezet, en records voor elk beëindigd process worden toegevoegd aan \fIbestandsnaam\fP als het stopt. Een argument van NULL zorgt ervoor dat accounting uitgezet wordt. .SH "EIND WAARDE" Bij succes wordt nul teruggegeven. Bij falen wordt \-1 teruggegeven en wordt \fIerrno\fP overeenkomstig gezet. .SH FOUTEN .TP \fBEACCES\fP Schrijf recht werd geweigerd voor het opgegeven bestand, of zoek rechten werden geweigerd voor een van de mappen in het pad voorvoegsel van \fIbestandsnaam\fP (zie ook \fBpath_resolution\fP(7)), of \fIbestandsnaam\fP is geen regulier bestand. .TP \fBEFAULT\fP \fIbestandsnaam\fP wijst buiten de voor u toegankelijke adresruimte. .TP \fBEIO\fP Fout bij schrijven naar het bestand \fIbestandsnaam\fP. .TP \fBEISDIR\fP \fIbestandsnaam\fP is een map. .TP \fBELOOP\fP Teveel symbolische koppelingen werden tegengekomen bij het vaststellen van \fIbestandsnaam\fP. .TP \fBENAMETOOLONG\fP \fIbestandsnaam\fP was te lang. .TP \fBENFILE\fP De grens aan het aantal open bestanden van het systeem is bereikt. .TP \fBENOENT\fP The opgegeven bestand bestaat niet. .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 Een deel gebruikt als map in \fIbestandsnaam\fP is in feite geen map. .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 \fIbestandsnaam\fP is 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" .\" 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 (maar niet POSIX). .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. .PP De structuur van de geschreven records naar het accounting bestand is beschreven in \fBacct\fP(5). .SH "ZIE OOK" \fBacct\fP(5) .SH COLOFON Deze pagina is onderdeel van release 5.10 van het Linux \fIman\-pages\fP\-project. Een beschrijving van het project, informatie over het melden van bugs en de nieuwste versie van deze pagina zijn op \%https://www.kernel.org/doc/man\-pages/ te vinden. .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 .