Determining Container Identifier by Process ID
Each process is identified by a unique PID (process identifier), which is the entry of that process in the kernel's process table. For example, when you start Apache, it is assigned a process ID. This PID is then used to monitor and control this program. The PID is always a positive integer. In Parallels Server Bare Metal, you can use the
The typical output of the
# vzpid 12 Pid VEID Name 12 101 init In our example the process with the identifier 12 has the name 'init' and is running in the Container with ID 101.
Note
: You can also display the Container ID where the corresponding process is running by using the
|
||||
|