FUNCTION::UID(3stap) Context Functions FUNCTION::UID(3stap)

# [NAME](#NAME)

function::uid - Returns the user ID of a target process

# [SYNOPSIS](#SYNOPSIS)

```


    uid:long()
```

# [ARGUMENTS](#ARGUMENTS)

None

# [DESCRIPTION](#DESCRIPTION)

This function returns the user ID of the target process.

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::context*(3stap)](/man/enterprise-packages/systemtap/tapset::context.3stap)

September 2026 SystemTap Tapset Reference Ver

---

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