| /freebsd-14.2/usr.sbin/periodic/etc/daily/ |
| H A D | 310.accounting | 15 if [ ! -f /var/account/acct ] 38 for f in acct.*; do 39 case "$f" in acct.\*) continue ;; esac # No files match 48 [ -f acct.$n.gz ] && { mv -f acct.$n.gz acct.$m.gz || rc=3; } 49 [ -f acct.$n ] && { mv -f acct.$n acct.$m || rc=3; } 56 rm -f acct.merge && cp acct.0 acct.merge || rc=3 57 sa -s $daily_accounting_flags /var/account/acct.merge || rc=3 58 rm acct.merge 62 gzip -f acct.0 || rc=3;;
|
| H A D | Makefile | 35 ACCTPACKAGE= acct
|
| /freebsd-14.2/usr.sbin/sa/tests/ |
| H A D | legacy_test.sh | 27 install -c -m 644 $LCDIR/v1-$ARCH-acct.in v1-$ARCH-acct.in 28 install -c -m 644 $LCDIR/v2-$ARCH-acct.in v2-$ARCH-acct.in 33 sa -u v1-$ARCH-acct.in | check 1 $DIR/v1-$ARCH-u.out 34 sa -u v2-$ARCH-acct.in | check 2 $DIR/v2-$ARCH-u.out 37 sa -i v1-$ARCH-acct.in | check 3 $DIR/v1-$ARCH-sav.out 38 sa -im v1-$ARCH-acct.in | check 4 $DIR/v1-$ARCH-usr.out 69 install -c -m 644 $LCDIR/v1-$ARCH-acct.in v1-$ARCH-acct.in 71 install -c -m 644 $LCDIR/v1-$ARCH-acct.in v1-$ARCH-acct.in 72 sa -s -P v2c-$ARCH-sav.in -U v2c-$ARCH-usr.in v1-$ARCH-acct.in \ 74 cp $LCDIR/v1-$ARCH-acct.in v1-$ARCH-acct.in [all …]
|
| H A D | prime.sh | 26 $SANEW -u $LCDIR/v1-$ARCH-acct.in >v1-$ARCH-u.out 27 $SANEW -u $LCDIR/v2-$ARCH-acct.in >v2-$ARCH-u.out 28 $SANEW -i $LCDIR/v1-$ARCH-acct.in >v1-$ARCH-sav.out 29 $SANEW -im $LCDIR/v1-$ARCH-acct.in >v1-$ARCH-usr.out 30 cp $LCDIR/v1-$ARCH-acct.in acct.in 32 $SAOLD -s -P v1-$ARCH-sav.in -U v1-$ARCH-usr.in acct.in >/dev/null 33 cp $LCDIR/v1-$ARCH-acct.in acct.in 35 $SANEW -s -P v2-$ARCH-sav.in -U v2-$ARCH-usr.in acct.in >/dev/null 36 rm acct.in
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_acct.c | 336 struct acctv3 acct; in acct_process() local 349 memset(&acct, 0, sizeof(acct)); in acct_process() 377 acct.ac_tty = NODEV; in acct_process() 381 bcopy(p->p_comm, acct.ac_comm, sizeof acct.ac_comm); in acct_process() 391 acct.ac_btime = tmp.tv_sec; in acct_process() 405 acct.ac_mem = 0; in acct_process() 420 acct.ac_flagx |= ANVER; in acct_process() 421 acct.ac_zero = 0; in acct_process() 422 acct.ac_version = 3; in acct_process() 423 acct.ac_len = acct.ac_len2 = sizeof(acct); in acct_process() [all …]
|
| /freebsd-14.2/usr.bin/lastcomm/tests/ |
| H A D | legacy_test.sh | 25 cat $DIR/v1-$ARCH-acct.in $DIR/v2-$ARCH-acct.in >v1v2-$ARCH-acct.in 30 lastcomm -cesuS -f $DIR/v1-$ARCH-acct.in | check 1 $DIR/v1-$ARCH.out 31 lastcomm -cesuS -f - <$DIR/v1-$ARCH-acct.in | tail -r | check 2 $DIR/v1-$ARCH.out 32 lastcomm -cesuS -f $DIR/v2-$ARCH-acct.in | check 3 $DIR/v2-$ARCH.out 33 lastcomm -cesuS -f - <$DIR/v2-$ARCH-acct.in | tail -r | check 4 $DIR/v2-$ARCH.out 34 lastcomm -cesuS -f v1v2-$ARCH-acct.in | check 5 v1v2-$ARCH.out 35 lastcomm -cesuS -f - <v1v2-$ARCH-acct.in | tail -r | check 6 v1v2-$ARCH.out
|
| H A D | Makefile | 7 ${PACKAGE}FILES+= v1-amd64-acct.in 9 ${PACKAGE}FILES+= v1-i386-acct.in 11 ${PACKAGE}FILES+= v2-amd64-acct.in 13 ${PACKAGE}FILES+= v2-i386-acct.in
|
| H A D | values.sh | 5 ACCT=acct 6 RESULTS=acct.`uname -m`.tar.gz 72 tar -cf - acct sa.u lastcomm.cesuS *.time | 82 echo accton /var/account/acct
|
| H A D | README | 5 2. Unpack the generated file and rename acct into VERSION-ARCH.acct. 6 3. Run lastcomm -cuseS -f VERSION-ARCH-acct.in |
|
| /freebsd-14.2/tools/regression/priv/ |
| H A D | priv_acct.c | 85 if (acct(NULL) != 0) { in priv_acct_setup() 91 if (acct(fpath1) != 0) { in priv_acct_setup() 103 (void)acct(NULL); in priv_acct_cleanup() 119 error = acct(fpath1); in priv_acct_enable() 135 error = acct(NULL); in priv_acct_disable() 151 error = acct(fpath2); in priv_acct_rotate() 167 error = acct(NULL); in priv_acct_noopdisable()
|
| /freebsd-14.2/cddl/contrib/opensolaris/lib/pyzfs/common/ |
| H A D | userspace.py | 103 def process_one_raw(acct, options, prop, elem): argument 120 v = acct[key] 125 acct[key] = v 216 acct = dict() 221 process_one_raw(acct, options, prop, elem) 244 for val in acct.itervalues():
|
| /freebsd-14.2/usr.sbin/accton/ |
| H A D | accton.c | 69 if (acct(NULL)) in main() 73 if (acct(*argv)) in main()
|
| H A D | Makefile | 6 PACKAGE=acct
|
| /freebsd-14.2/lib/libcompat/4.3/ |
| H A D | rexec.c | 298 char c, *acct; in rexec() local 306 acct = NULL; in rexec() 307 ruserpass(hp->h_name, &name, &pass, &acct); in rexec() 308 free(acct); in rexec()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zvol_os.c | 251 boolean_t acct = B_FALSE; in zvol_write() local 280 acct = blk_queue_io_stat(q); in zvol_write() 281 if (acct) { in zvol_write() 330 if (bio && acct) { in zvol_write() 360 boolean_t acct = B_FALSE; in zvol_discard() local 367 acct = blk_queue_io_stat(q); in zvol_discard() 368 if (acct) { in zvol_discard() 418 if (bio && acct) { in zvol_discard() 441 boolean_t acct = B_FALSE; in zvol_read() local 463 if (acct) in zvol_read() [all …]
|
| /freebsd-14.2/usr.bin/who/ |
| H A D | Makefile | 4 PACKAGE= acct
|
| /freebsd-14.2/usr.sbin/ac/ |
| H A D | Makefile | 3 PACKAGE= acct
|
| /freebsd-14.2/usr.sbin/utx/ |
| H A D | Makefile | 2 PACKAGE= acct
|
| /freebsd-14.2/usr.bin/last/ |
| H A D | Makefile | 4 PACKAGE= acct
|
| /freebsd-14.2/usr.bin/users/ |
| H A D | Makefile | 5 PACKAGE= acct
|
| /freebsd-14.2/usr.sbin/lastlogin/ |
| H A D | Makefile | 3 PACKAGE= acct
|
| /freebsd-14.2/usr.bin/lastcomm/ |
| H A D | Makefile | 5 PACKAGE=acct
|
| /freebsd-14.2/usr.sbin/periodic/etc/monthly/ |
| H A D | Makefile | 18 ACCTPACKAGE= acct
|
| /freebsd-14.2/usr.sbin/sa/ |
| H A D | Makefile | 10 PACKAGE=acct
|
| /freebsd-14.2/tests/sys/kern/acct/ |
| H A D | Makefile | 2 TESTSDIR= ${TESTSBASE}/sys/kern/acct
|