---
name: "vzpid"
section: "8"
platform: "linux"
package: "vzctl"
version: "4.9.4-6"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/vzpid"
---

# vzpid(8)

display the CT ID given the process ID

## NAME

vzpid - 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.

## SEE ALSO

[**vzctl**(8)](/vzctl/8.md).

## LICENSE

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