Home
last modified time | relevance | path

Searched refs:AC_PROC (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/cmd/acctadm/
H A Dres.c43 { AC_PROC, AC_PROC_PID, "pid" },
44 { AC_PROC, AC_PROC_UID, "uid" },
45 { AC_PROC, AC_PROC_GID, "gid" },
46 { AC_PROC, AC_PROC_PROJID, "projid" },
47 { AC_PROC, AC_PROC_TASKID, "taskid" },
48 { AC_PROC, AC_PROC_CPU, "cpu" },
49 { AC_PROC, AC_PROC_TIME, "time" },
50 { AC_PROC, AC_PROC_COMMAND, "command" },
51 { AC_PROC, AC_PROC_TTY, "tty" },
52 { AC_PROC, AC_PROC_HOSTNAME, "host" },
[all …]
H A Dutils.c107 case AC_PROC: in ac_type_name()
233 (!(c == EXD_GROUP_PROC && type == AC_PROC || in verify_exacct_file()
H A Daconf.c236 int print_order[] = { AC_TASK, AC_PROC, AC_FLOW, AC_NET }; in aconf_print()
266 case AC_PROC: in aconf_print_type()
395 case AC_PROC: in aconf_type2fmri()
414 return (AC_PROC); in aconf_fmri2type()
H A Dmain.c207 type |= AC_PROC; in main()
220 type = AC_PROC | AC_TASK | AC_FLOW | AC_NET; in main()
282 assert(type == AC_PROC || type == AC_TASK || type == AC_FLOW || in main()
/titanic_41/usr/src/cmd/lastcomm/
H A Dlastcomm.c70 if (acctctl(AC_PROC | AC_FILE_GET, buf, PATH_MAX) < 0) { in main()
86 if (acctctl(AC_PROC | AC_FILE_GET, buf, PATH_MAX) < 0) in main()
/titanic_41/usr/src/uts/common/sys/
H A Dacctctl.h44 #define AC_PROC (0x1 << 24) /* change process accounting settings */ macro
/titanic_41/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c539 if (acctctl(AC_PROC | AC_RES_SET, res, sizeof (res)) != 0) { in zsd_enable_cpu_stats()
544 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_enable_cpu_stats()
548 if (acctctl(AC_PROC | AC_FILE_SET, path, strlen(path) + 1) in zsd_enable_cpu_stats()
554 if (acctctl(AC_PROC | AC_STATE_SET, &state, sizeof (state)) == -1) { in zsd_enable_cpu_stats()
571 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_disable_cpu_stats()
587 if (acctctl(AC_PROC | AC_RES_SET, res, sizeof (res)) != 0) { in zsd_disable_cpu_stats()
591 if (acctctl(AC_PROC | AC_FILE_SET, NULL, 0) == -1) { in zsd_disable_cpu_stats()
595 if (acctctl(AC_PROC | AC_STATE_SET, &state, sizeof (state)) == -1) { in zsd_disable_cpu_stats()
620 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile)); in zsd_roll_exacct()
628 if (acctctl(AC_PROC | AC_FILE_SET, path, strlen(path) + 1) == -1) { in zsd_roll_exacct()
[all …]
/titanic_41/usr/src/uts/common/syscall/
H A Dacctctl.c449 case AC_PROC: in acctctl()
/titanic_41/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c1208 mode = AC_PROC; in s10_acctctl()