DOKK / manpages / debian 10 / vzctl / vzpid.8.en
vzpid(8) Containers vzpid(8)

vzpid - display the CT ID given the process ID

vzpid [-p] pid [...]
vzpid [-p] -

This script displays the CT ID the process with the given pid belongs to.

The pid of the process to display the CT ID of. Can be specified multiple times.
Also show the corresponding in-container PID(s).
-
Read PID(s) from the standard input.

Returns 0 upon a successful execution.

vzctl(8).

Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.

18 Mar 2012 OpenVZ