Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

function::ns_uid


Name

function::ns_uid — Returns the user ID of a target process as seen in a user namespace

Synopsis

ns_uid:long()

Arguments

None

Description

This function returns the user ID of the target process as seen in the target user namespace if provided, or the stap process namespace.