EXPAND ALL
  • Home

upid_to_hostname

Gets the name of the host the process with the given Unique Process ID (UPID) is running on. Equivalent to running hostname in a shell on the node the process is running on.

Returns: STRING

The hostname for the UPID passed in.

Arguments

VariableTypeDescription
upidUINT128The UPID of the process to get the hostname for.

Examples:

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