2,253
edits
Changes
m
Robot: Automated text replacement (-VEID +CTID)
<pre>
#!/bin/bash
# Usage: ./ovzps VEID CTID [ps flags ...]
function find_ve_pids(){
=== Use vzprocps tools ===
Take <code>vzprocps</code> tools from http://download.openvz.org/contrib/utils/.
These are usual <code>ps</code> and <code>top</code> utilities (named <code>vztop</code> and <code>vzps</code> to not conflict with the standard ones) with an <code>-E</code> option added. You can use <code>-E <i>VEIDCTID</i></code> option to limit the output to the selected VEID CTID (use 0 for the host system), or just <code>-E</code> without an argument to just add VEID CTID column to output.
== See also ==