tail head cat sleep
QR code linking to this page

Manpage  — ACCT

BEZEICHNUNG

acct - schaltet das Prozeß-Accounting an bzw. aus

INHALT

ÜBERSICHT

#include <unistd.h> 

int acct(const char *filename);

BESCHREIBUNG

WARNUNG Da die Funktion seit Linux 0.99.11 nicht implementiert ist, liefert sie immer -1 zurück und setzt errno auf ENOSYS. Wenn das acctkit installiert ist, verhält sich die Funktion

Ruft man die Funktion mit einer existierenden Datei auf, wird das Accounting eingeschaltet und ein Datensatz für jeden Prozeß, der beendet wurde, wird filename hinzugefügt. Ruft man die Funktion mit NULL auf, wird das Accounting ausgeschaltet.

RÜCKGABEWERT

Bei Erfolg wird eine Null zurückgeliefert, im Fehlerfall eine -1 und errno wir gesetzt.

ANMERKUNGEN

Es wir kein Accounting für Programme erzeugt, wenn das System abstürzt. Manchmal werden Prozesse, die nicht beendet werden, nicht berücksichtigt.

SIEHE AUCH

acct(5) [Englisch].


30. Mai 1996 ACCT (2) GNU

tail head cat sleep
QR code linking to this page


Bitte richten Sie Ihre Kommentare zu diesem Handbuch Seite Service, Ben Bullock. Privacy policy.

"I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act."
— Ken Pier, Xerox PARC