TAPSET::TASK(3stap) TAPSET::TASK(3stap)

# [NAME](#NAME)

tapset::task - systemtap task tapset

# [DESCRIPTION](#DESCRIPTION)

[**task\_current**](#task_current)

The current task\_struct of the current task

See [*function::task\_current*(3stap)](/man/enterprise-packages/systemtap/function::task_current.3stap)  
for details.

[**task\_parent**](#task_parent)

The task\_struct of the parent task

See [*function::task\_parent*(3stap)](/man/enterprise-packages/systemtap/function::task_parent.3stap)  
for details.

[**task\_state**](#task_state)

The state of the task

See [*function::task\_state*(3stap)](/man/enterprise-packages/systemtap/function::task_state.3stap)  
for details.

[**task\_execname**](#task_execname)

The name of the task

See [*function::task\_execname*(3stap)](/man/enterprise-packages/systemtap/function::task_execname.3stap)  
for details.

[**task\_pid**](#task_pid)

The process identifier of the task

See [*function::task\_pid*(3stap)](/man/enterprise-packages/systemtap/function::task_pid.3stap)  
for details.

[**task\_ns\_pid**](#task_ns_pid)

The process identifier of the task

See [*function::task\_ns\_pid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_pid.3stap)  
for details.

[**pid2task**](#pid2task)

The task\_struct of the given process identifier

See [*function::pid2task*(3stap)](/man/enterprise-packages/systemtap/function::pid2task.3stap)  
for details.

[**pid2execname**](#pid2execname)

The name of the given process identifier

See [*function::pid2execname*(3stap)](/man/enterprise-packages/systemtap/function::pid2execname.3stap)  
for details.

[**task\_tid**](#task_tid)

The thread identifier of the task

See [*function::task\_tid*(3stap)](/man/enterprise-packages/systemtap/function::task_tid.3stap)  
for details.

[**task\_ns\_tid**](#task_ns_tid)

The thread identifier of the task as seen in a namespace

See [*function::task\_ns\_tid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_tid.3stap)  
for details.

[**task\_gid**](#task_gid)

The group identifier of the task

See [*function::task\_gid*(3stap)](/man/enterprise-packages/systemtap/function::task_gid.3stap)  
for details.

[**task\_ns\_gid**](#task_ns_gid)

The group identifier of the task as seen in a namespace

See [*function::task\_ns\_gid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_gid.3stap)  
for details.

[**task\_egid**](#task_egid)

The effective group identifier of the task

See [*function::task\_egid*(3stap)](/man/enterprise-packages/systemtap/function::task_egid.3stap)  
for details.

[**task\_ns\_egid**](#task_ns_egid)

The effective group identifier of the task

See [*function::task\_ns\_egid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_egid.3stap)  
for details.

[**task\_uid**](#task_uid)

The user identifier of the task

See [*function::task\_uid*(3stap)](/man/enterprise-packages/systemtap/function::task_uid.3stap)  
for details.

[**task\_ns\_uid**](#task_ns_uid)

The user identifier of the task

See [*function::task\_ns\_uid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_uid.3stap)  
for details.

[**task\_euid**](#task_euid)

The effective user identifier of the task

See [*function::task\_euid*(3stap)](/man/enterprise-packages/systemtap/function::task_euid.3stap)  
for details.

[**task\_ns\_euid**](#task_ns_euid)

The effective user identifier of the task

See [*function::task\_ns\_euid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_euid.3stap)  
for details.

[**task\_prio**](#task_prio)

The priority value of the task

See [*function::task\_prio*(3stap)](/man/enterprise-packages/systemtap/function::task_prio.3stap)  
for details.

[**task\_nice**](#task_nice)

The nice value of the task

See [*function::task\_nice*(3stap)](/man/enterprise-packages/systemtap/function::task_nice.3stap)  
for details.

[**task\_cpu**](#task_cpu)

The scheduled cpu of the task

See [*function::task\_cpu*(3stap)](/man/enterprise-packages/systemtap/function::task_cpu.3stap)  
for details.

[**task\_open\_file\_handles**](#task_open_file_handles)

The number of open files of the task

See [*function::task\_open\_file\_handles*(3stap)](/man/enterprise-packages/systemtap/function::task_open_file_handles.3stap)  
for details.

[**task\_max\_file\_handles**](#task_max_file_handles)

The max number of open files for the task

See [*function::task\_max\_file\_handles*(3stap)](/man/enterprise-packages/systemtap/function::task_max_file_handles.3stap)  
for details.

# [SEE ALSO](#SEE_ALSO)

[*function::task\_current*(3stap)](/man/enterprise-packages/systemtap/function::task_current.3stap), [*function::task\_parent*(3stap)](/man/enterprise-packages/systemtap/function::task_parent.3stap), [*function::task\_state*(3stap)](/man/enterprise-packages/systemtap/function::task_state.3stap), [*function::task\_execname*(3stap)](/man/enterprise-packages/systemtap/function::task_execname.3stap), [*function::task\_pid*(3stap)](/man/enterprise-packages/systemtap/function::task_pid.3stap), [*function::task\_ns\_pid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_pid.3stap), [*function::pid2task*(3stap)](/man/enterprise-packages/systemtap/function::pid2task.3stap), [*function::pid2execname*(3stap)](/man/enterprise-packages/systemtap/function::pid2execname.3stap), [*function::task\_tid*(3stap)](/man/enterprise-packages/systemtap/function::task_tid.3stap), [*function::task\_ns\_tid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_tid.3stap), [*function::task\_gid*(3stap)](/man/enterprise-packages/systemtap/function::task_gid.3stap), [*function::task\_ns\_gid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_gid.3stap), [*function::task\_egid*(3stap)](/man/enterprise-packages/systemtap/function::task_egid.3stap), [*function::task\_ns\_egid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_egid.3stap), [*function::task\_uid*(3stap)](/man/enterprise-packages/systemtap/function::task_uid.3stap), [*function::task\_ns\_uid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_uid.3stap), [*function::task\_euid*(3stap)](/man/enterprise-packages/systemtap/function::task_euid.3stap), [*function::task\_ns\_euid*(3stap)](/man/enterprise-packages/systemtap/function::task_ns_euid.3stap), [*function::task\_prio*(3stap)](/man/enterprise-packages/systemtap/function::task_prio.3stap), [*function::task\_nice*(3stap)](/man/enterprise-packages/systemtap/function::task_nice.3stap), [*function::task\_cpu*(3stap)](/man/enterprise-packages/systemtap/function::task_cpu.3stap), [*function::task\_open\_file\_handles*(3stap)](/man/enterprise-packages/systemtap/function::task_open_file_handles.3stap), [*function::task\_max\_file\_handles*(3stap)](/man/enterprise-packages/systemtap/function::task_max_file_handles.3stap), [*stap*(1)](/man/enterprise-packages/systemtap/stap.1), [*stapprobes*(3stap)](/man/enterprise-packages/systemtap/stapprobes.3stap)

September 2026 SystemTap Tapset Reference

---

Document: tapset::task(3stap) from systemtap 5.6-r1 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
