|
|
DataMuseum.dkPresents historical artifacts from the history of: Commodore CBM-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Commodore CBM-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 320 (0x140)
Types: TextFile
Notes: UNIX file
Names: »accton.c«
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
└─⟦f4b8d8c84⟧ UNIX Filesystem
└─⟦this⟧ »cmd/accton.c«
/*
* Enable and disable system-wide
* process accounting (for sa).
*/
#include <stdio.h>
main(argc, argv)
char *argv[];
{
char *acfile;
if (argc > 2)
usage();
acfile = argc==1 ? NULL : argv[1];
if (acct(acfile) < 0)
perror(acfile);
}
usage()
{
fprintf(stderr, "Usage: /etc/accton [file]\n");
exit(1);
}