---
name: "tapset::task"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tapset::task"
---

# tapset::task(3stap)

systemtap task tapset

## NAME

tapset::task - systemtap task tapset

## DESCRIPTION

-

  - **task\_current**

  The current task\_struct of the current task

-

  See  [*function::task\_current*(3stap)](/function::task_current/3stap.md)\
    for details.

- **task\_parent**

  The task\_struct of the parent task

-

  See  [*function::task\_parent*(3stap)](/function::task_parent/3stap.md)\
    for details.

- **task\_state**

  The state of the task

-

  See  [*function::task\_state*(3stap)](/function::task_state/3stap.md)\
    for details.

- **task\_execname**

  The name of the task

-

  See  [*function::task\_execname*(3stap)](/function::task_execname/3stap.md)\
    for details.

- **task\_pid**

  The process identifier of the task

-

  See  [*function::task\_pid*(3stap)](/function::task_pid/3stap.md)\
    for details.

- **task\_ns\_pid**

  The process identifier of the task

-

  See  [*function::task\_ns\_pid*(3stap)](/function::task_ns_pid/3stap.md)\
    for details.

- **pid2task**

  The task\_struct of the given process identifier

-

  See  [*function::pid2task*(3stap)](/function::pid2task/3stap.md)\
    for details.

- **pid2execname**

  The name of the given process identifier

-

  See  [*function::pid2execname*(3stap)](/function::pid2execname/3stap.md)\
    for details.

- **task\_tid**

  The thread identifier of the task

-

  See  [*function::task\_tid*(3stap)](/function::task_tid/3stap.md)\
    for details.

- **task\_ns\_tid**

  The thread identifier of the task as seen in a namespace

-

  See  [*function::task\_ns\_tid*(3stap)](/function::task_ns_tid/3stap.md)\
    for details.

- **task\_gid**

  The group identifier of the task

-

  See  [*function::task\_gid*(3stap)](/function::task_gid/3stap.md)\
    for details.

- **task\_ns\_gid**

  The group identifier of the task as seen in a namespace

-

  See  [*function::task\_ns\_gid*(3stap)](/function::task_ns_gid/3stap.md)\
    for details.

- **task\_egid**

  The effective group identifier of the task

-

  See  [*function::task\_egid*(3stap)](/function::task_egid/3stap.md)\
    for details.

- **task\_ns\_egid**

  The effective group identifier of the task

-

  See  [*function::task\_ns\_egid*(3stap)](/function::task_ns_egid/3stap.md)\
    for details.

- **task\_uid**

  The user identifier of the task

-

  See  [*function::task\_uid*(3stap)](/function::task_uid/3stap.md)\
    for details.

- **task\_ns\_uid**

  The user identifier of the task

-

  See  [*function::task\_ns\_uid*(3stap)](/function::task_ns_uid/3stap.md)\
    for details.

- **task\_euid**

  The effective user identifier of the task

-

  See  [*function::task\_euid*(3stap)](/function::task_euid/3stap.md)\
    for details.

- **task\_ns\_euid**

  The effective user identifier of the task

-

  See  [*function::task\_ns\_euid*(3stap)](/function::task_ns_euid/3stap.md)\
    for details.

- **task\_prio**

  The priority value of the task

-

  See  [*function::task\_prio*(3stap)](/function::task_prio/3stap.md)\
    for details.

- **task\_nice**

  The nice value of the task

-

  See  [*function::task\_nice*(3stap)](/function::task_nice/3stap.md)\
    for details.

- **task\_cpu**

  The scheduled cpu of the task

-

  See  [*function::task\_cpu*(3stap)](/function::task_cpu/3stap.md)\
    for details.

- **task\_open\_file\_handles**

  The number of open files of the task

-

  See  [*function::task\_open\_file\_handles*(3stap)](/function::task_open_file_handles/3stap.md)\
    for details.

- **task\_max\_file\_handles**

  The max number of open files for the task

-

  See  [*function::task\_max\_file\_handles*(3stap)](/function::task_max_file_handles/3stap.md)\
    for details.

## SEE ALSO

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