acct
Activer/désactiver la comptabilité des processus
- Provided by: manpages-fr-dev (Version: 4.29.1-1)
- Source: manpages-l10n
- Report a bug
Activer/désactiver la comptabilité des processus
Bibliothèque C standard (libc, -lc)
#include <unistd.h>
int acct(const char *_Nullable path);
acct() :
Depuis la glibc 2.21 :
_DEFAULT_SOURCE
Dans glibc 2.19 et 2.20 :
_DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500)
Jusqu'à et y compris la glibc 2.19 :
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500)
The acct() 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.
En cas de succès, zéro est renvoyé. En cas d'erreur, -1 est renvoyé et errno est définie pour préciser l'erreur.
Aucun.
SVr4, 4.3BSD.
Aucune comptabilisation n'est effectuée pour les programmes en cours d'exécution si un plantage système survient. En particulier les processus qui ne se terminent jamais ne sont pas comptabilisés.
La structure des enregistrements écrits dans le fichier de comptabilité est décrite dans acct(5).
La traduction française de cette page de manuel a été créée par Christophe Blaess <https://www.blaess.fr/christophe/>, Stéphan Rafin <stephan.rafin@laposte.net>, Thierry Vignaud <tvignaud@mandriva.com>, François Micaux, Alain Portal <aportal@univ-montp2.fr>, Jean-Philippe Guérard <fevrier@tigreraye.org>, Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>, Julien Cristau <jcristau@debian.org>, Thomas Huriaux <thomas.huriaux@gmail.com>, Nicolas François <nicolas.francois@centraliens.net>, Florentin Duneau <fduneau@gmail.com>, Simon Paillard <simon.paillard@resel.enst-bretagne.fr>, Denis Barbier <barbier@debian.org>, David Prévot <david@tilapin.org>, Cédric Boutillier <cedric.boutillier@gmail.com>, Frédéric Hantrais <fhantrais@gmail.com> et Jean-Philippe MENGUAL <jpmengual@debian.org>
Cette traduction est une documentation libre ; veuillez vous reporter à la GNU General Public License version 3 concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE.
Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à debian-l10n-french@lists.debian.org.