# What is Unique Token in Process?

A Unique Token is a distinct string used to identify the target application process for which diagnostics need to be captured. The yc-360 script supports process identification for both Java and .NET applications.

# Why Use a Unique Token Instead of a Process ID?

In many environments-especially in containers and orchestration platforms like Kubernetes-process IDs (PIDs) are ephemeral and can change frequently due to restarts or scaling events.

Using a Unique Token offers a more stable and consistent way to locate the target process based on a known identifier (e.g., jar name, class name, startup argument, or executable name), rather than relying on dynamic PIDs.

This simplifies automation, avoids manual lookups, and ensures the yc-360 script always targets the correct process, even across deployments.