Difference between revisions of "Man/vzpid.8"

From OpenVZ Virtuozzo Containers Wiki
< Man
Jump to: navigation, search
(Automated import of articles *** existing text overwritten ***)
(Automated import of articles *** existing text overwritten ***)
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
 
<p style="margin-top: 1em"><b>vzpid</b></p></td>
 
<p style="margin-top: 1em"><b>vzpid</b></p></td>
 
<td width="2%"></td>
 
<td width="2%"></td>
<td width="14%">
+
<td width="22%">
  
<p style="margin-top: 1em"><i>pid</i> [...]</p></td>
+
<p style="margin-top: 1em">[<b>-p</b>] <i>pid</i> [...]</p></td>
<td width="66%">
+
<td width="58%">
 
</td></tr>
 
</td></tr>
 
<tr valign="top" align="left">
 
<tr valign="top" align="left">
Line 25: Line 25:
 
<p><b>vzpid</b></p></td>
 
<p><b>vzpid</b></p></td>
 
<td width="2%"></td>
 
<td width="2%"></td>
<td width="14%">
+
<td width="22%">
  
<p><b>-</b></p></td>
+
<p>[<b>-p</b>] <b>-</b></p></td>
<td width="66%">
+
<td width="58%">
 
</td></tr>
 
</td></tr>
 
</table>
 
</table>
Line 52: Line 52:
 
<p style="margin-top: 1em">The <i>pid</i> of the process to
 
<p style="margin-top: 1em">The <i>pid</i> of the process to
 
display the CT ID of. Can be specified multiple times.</p></td></tr>
 
display the CT ID of. Can be specified multiple times.</p></td></tr>
 +
<tr valign="top" align="left">
 +
<td width="11%"></td>
 +
<td width="4%">
 +
 +
<p style="margin-top: 1em"><b>-p</b></p></td>
 +
<td width="7%"></td>
 +
<td width="78%">
 +
 +
<p style="margin-top: 1em">Also show the corresponding
 +
in-container PID(s).</p></td></tr>
 
<tr valign="top" align="left">
 
<tr valign="top" align="left">
 
<td width="11%"></td>
 
<td width="11%"></td>
Line 63: Line 73:
 
</table>
 
</table>
  
== DIAGNOSTICS ==
+
== EXIT STATUS ==
  
 
<p style="margin-left:11%; margin-top: 1em">Returns 0 upon
 
<p style="margin-left:11%; margin-top: 1em">Returns 0 upon

Latest revision as of 19:46, 17 December 2013

NAME[edit]

vzpid − display the CT ID given the process ID

SYNOPSIS[edit]

vzpid

[-p] pid [...]

vzpid

[-p] -

DESCRIPTION[edit]

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

OPTIONS[edit]

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[edit]

Returns 0 upon a successful execution.

SEE ALSO[edit]

vzctl(8).

LICENSE[edit]

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