WRACCT(8) | Maintenance Commands and Procedures | WRACCT(8) |
wracct - write extended accounting records for active processes and tasks
/usr/bin/wracct -i id_list [-t record_type]
{process | task}
The wracct utility allows the administrator to invoke the extended accounting system, if active, to write intermediate records representing the resource usage of a selected set of processes or tasks. For tasks, a record_type option is also supported, allowing the administrator to request the writing of:
The following options are supported:
-i id_list
-t record_type
The following operands are supported:
process
task
Example 1 Writing a Partial Record
Write a partial record for all active sendmail processes.
# /usr/bin/wracct -i "`pgrep sendmail`" process
Example 2 Writing an Interval Record
Write an interval record for the task with ID 182.
# /usr/bin/wracct -t interval -i 182 task
The following exit values are returned:
0
1
2
3
/var/adm/exacct/task
/var/adm/exacct/proc
August 13, 2023 | OmniOS |