Difference between revisions of "Man/vzpid.8"

From OpenVZ Virtuozzo Containers Wiki
< Man
Jump to: navigation, search
(Automated import of articles)
 
(Automated import of articles *** existing text overwritten ***)
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="14%">
 +
 
 +
<p style="margin-top: 1em"><i>pid</i> [...]</p></td>
 +
<td width="66%">
 +
</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="14%">
 +
 
 +
<p><b>-</b></p></td>
 +
<td width="66%">
 +
</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><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 ==
+
== DIAGNOSTICS ==
  
 
<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 75:
  
 
<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>

Revision as of 15:43, 6 June 2011

NAME

vzpid − display the CT ID given the process ID

SYNOPSIS

vzpid

pid [...]

vzpid

-

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.

-

Read PID(s) from the standard input.

DIAGNOSTICS

Returns 0 upon a successful execution.

SEE ALSO

vzctl(8).

LICENSE

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