Open main menu

OpenVZ Virtuozzo Containers Wiki β

Difference between revisions of "Man/vzpid.8"

< Man
(Automated import of articles)
 
(Automated import of articles *** existing text overwritten ***)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
<p style="margin-left:11%; margin-top: 1em">vzpid &minus;
 
<p style="margin-left:11%; margin-top: 1em">vzpid &minus;
display the CT ID given the process ID (PID).</p>
+
display the CT ID given the process ID</p>
  
 
== SYNOPSIS ==
 
== SYNOPSIS ==
  
<p style="margin-left:11%; margin-top: 1em">vzpid
+
<table width="100%" border="0" rules="none" frame="void"
[<b>-h</b>] [<i>pid</i> [...]]</p>
+
      cellspacing="0" cellpadding="0">
 +
<tr valign="top" align="left">
 +
<td width="11%"></td>
 +
<td width="7%">
 +
 
 +
<p style="margin-top: 1em"><b>vzpid</b></p></td>
 +
<td width="2%"></td>
 +
<td width="22%">
 +
 
 +
<p style="margin-top: 1em">[<b>-p</b>] <i>pid</i> [...]</p></td>
 +
<td width="58%">
 +
</td></tr>
 +
<tr valign="top" align="left">
 +
<td width="11%"></td>
 +
<td width="7%">
 +
 
 +
<p><b>vzpid</b></p></td>
 +
<td width="2%"></td>
 +
<td width="22%">
 +
 
 +
<p>[<b>-p</b>] <b>-</b></p></td>
 +
<td width="58%">
 +
</td></tr>
 +
</table>
  
 
== DESCRIPTION ==
 
== DESCRIPTION ==
Line 25: Line 48:
 
<p style="margin-top: 1em"><i>pid</i></p></td>
 
<p style="margin-top: 1em"><i>pid</i></p></td>
 
<td width="7%"></td>
 
<td width="7%"></td>
<td width="72%">
+
<td width="78%">
  
 
<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.</p></td>
+
display the CT ID of. Can be specified multiple times.</p></td></tr>
<td width="6%">
+
<tr valign="top" align="left">
</td></tr>
+
<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">
 +
<td width="11%"></td>
 +
<td width="4%">
 +
 
 +
<p><b>-</b></p></td>
 +
<td width="7%"></td>
 +
<td width="78%">
 +
 
 +
<p>Read PID(s) from the standard input.</p></td></tr>
 
</table>
 
</table>
  
== RETURN CODE ==
+
== EXIT STATUS ==
  
 
<p style="margin-left:11%; margin-top: 1em">Returns 0 upon
 
<p style="margin-left:11%; margin-top: 1em">Returns 0 upon
Line 45: Line 85:
  
 
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
 
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
2000-2008, Parallels, Inc. Licensed under GNU GPL.</p>
+
2000-2011, Parallels, Inc. Licensed under GNU GPL.</p>

Latest revision as of 19:46, 17 December 2013

Contents

NAMEEdit

vzpid − display the CT ID given the process ID

SYNOPSISEdit

vzpid

[-p] pid [...]

vzpid

[-p] -

DESCRIPTIONEdit

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

OPTIONSEdit

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 STATUSEdit

Returns 0 upon a successful execution.

SEE ALSOEdit

LICENSEEdit

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