.\" -*- coding: UTF-8 -*- .\" Copyright (c) 1993 Michael Haardt .\" (michael@moria.de), .\" Fri Apr 2 11:32:09 MET DST 1993 .\" .\" SPDX-License-Identifier: GPL-2.0-or-later .\" .\" 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 "3 grudnia 2022 r." "Linux man\-pages 6.03" .SH NAZWA acct \- włączenie/wyłączenie ewidencjonowania procesów .SH BIBLIOTEKA Standardowa biblioteka C (\fIlibc\fP, \fI\-lc\fP) .SH SKŁADNIA .nf \fB#include \fP .PP \fBint acct(const char *_Nullable \fP\fIfilename\fP\fB);\fP .fi .PP .RS -4 Wymagane ustawienia makr biblioteki glibc (patrz \fBfeature_test_macros\fP(7)): .RE .PP \fBacct\fP(): .nf .\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8 Od glibc 2.21: _DEFAULT_SOURCE W glibc 2.19 i 2.20: _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500) Do glibc 2.19 włącznie: _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500) .fi .SH OPIS The \fBacct\fP() system call enables or disables process accounting. If called with the name of an existing file as its argument, accounting is turned on, and records for each terminating process are appended to \fIfilename\fP as it terminates. An argument of NULL causes accounting to be turned off. .SH "WARTOŚĆ ZWRACANA" On success, zero is returned. On error, \-1 is returned, and \fIerrno\fP is set to indicate the error. .SH BŁĘDY .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 \fIfilename\fP (see also \fBpath_resolution\fP(7)), or \fIfilename\fP is not a regular file. .TP \fBEFAULT\fP \fIfilename\fP wskazuje poza dostępną dla użytkownika przestrzeń adresową. .TP \fBEIO\fP Błąd zapisu do pliku \fIfilename\fP. .TP \fBEISDIR\fP \fIfilename\fP jest katalogiem. .TP \fBELOOP\fP Podczas rozwiązywania \fIfilename\fP napotkano zbyt wiele dowiązań symbolicznych. .TP \fBENAMETOOLONG\fP Nazwa \fIfilename\fP jest za długa. .TP \fBENFILE\fP Zostało osiągnięte systemowe ograniczenie na całkowitą liczbę otwartych plików. .TP \fBENOENT\fP The specified file does not exist. .TP \fBENOMEM\fP Brak pamięci. .TP \fBENOSYS\fP Rozlicznie procesów nie zostało włączone w czasie kompilacji jądra systemu. Odpowiednim parametrem jądra ustawiającym tę opcję jest \fBCONFIG_BSD_PROCESS_ACCT\fP. .TP \fBENOTDIR\fP Składnik \fIfilename\fP, który powinien być katalogiem, w rzeczywistości nim nie jest. .TP \fBEPERM\fP The calling process has insufficient privilege to enable process accounting. On Linux, the \fBCAP_SYS_PACCT\fP capability is required. .TP \fBEROFS\fP \fIfilename\fP refers to a file on a read\-only filesystem. .TP \fBEUSERS\fP Brak wolnych struktur plikowych w jądrze lub brak pamięci. .SH STANDARDY .\" 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 (ale nie POSIX). .SH UWAGI No accounting is produced for programs running when a system crash occurs. In particular, nonterminating processes are never accounted for. .PP The structure of the records written to the accounting file is described in \fBacct\fP(5). .SH "ZOBACZ TAKŻE" \fBacct\fP(5) .PP .SH TŁUMACZENIE Autorami polskiego tłumaczenia niniejszej strony podręcznika są: Andrzej Krzysztofowicz . .PP Niniejsze tłumaczenie jest wolną dokumentacją. Bliższe informacje o warunkach licencji można uzyskać zapoznając się z .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License w wersji 3 .UE lub nowszej. Nie przyjmuje się ŻADNEJ ODPOWIEDZIALNOŚCI. .PP Błędy w tłumaczeniu strony podręcznika prosimy zgłaszać na adres listy dyskusyjnej .MT manpages-pl-list@lists.sourceforge.net .ME .