vzpid(8) display the CT ID given the process ID

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

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

EXIT STATUS

Returns 0 upon a successful execution.

LICENSE

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