EXPAND ALL
  • Home

upid_to_container_name

Gets the Kubernetes container name for the container the process with the given Unique Process ID (UPID) is running on. If the UPID has no associated Kubernetes container, this function will return an empty string

Returns: STRING

The k8s container name for the UPID passed in.

Arguments

VariableTypeDescription
upidUINT128The UPID of the process to get the container name for.

Examples:

df.container_name = px.upid_to_container_name(df.upid)
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.