Editing Processes scope and visibility
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 27: | Line 27: | ||
</pre> | </pre> | ||
− | After this ps or htop or top | + | After this ps or htop or top do not show anymore other container processes. |
− | |||
− | |||
=== "Poor man's vzps in bash" === | === "Poor man's vzps in bash" === | ||
Line 82: | Line 80: | ||
Take <code>vzprocps</code> tools from http://download.openvz.org/contrib/utils/. | 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>CTID</i></code> option to limit the output to the selected CTID (use 0 for the host system), or just <code>-E</code> without an argument to just add CTID column to output. | 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>CTID</i></code> option to limit the output to the selected CTID (use 0 for the host system), or just <code>-E</code> without an argument to just add CTID column to output. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == |