Searched refs:AC_PROC (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/cmd/acctadm/ |
H A D | res.c | 43 { 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 D | utils.c | 107 case AC_PROC: in ac_type_name() 233 (!(c == EXD_GROUP_PROC && type == AC_PROC || in verify_exacct_file()
|
H A D | aconf.c | 236 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 D | main.c | 207 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 D | lastcomm.c | 70 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 D | acctctl.h | 44 #define AC_PROC (0x1 << 24) /* change process accounting settings */ macro
|
/titanic_41/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 539 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 D | acctctl.c | 449 case AC_PROC: in acctctl()
|
/titanic_41/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_brand.c | 1208 mode = AC_PROC; in s10_acctctl()
|