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 6: | Line 6: | ||
From [[CT0]] one can see all the processes running on the system; that | From [[CT0]] one can see all the processes running on the system; that | ||
includes all the processes of all [[container]]s and the processes of the | includes all the processes of all [[container]]s and the processes of the | ||
− | [[host system]] itself. Sometimes you just want to see the processes from the host system only. Sometimes you just want to see the processes from a | + | [[host system]] itself. Sometimes you just want to see the processes from the |
+ | host system only. Sometimes you just want to see the processes from a | ||
particular container. | particular container. | ||
Line 12: | Line 13: | ||
== Solutions == | == Solutions == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== "Poor man's vzps in bash" === | === "Poor man's vzps in bash" === | ||
Line 64: | Line 47: | ||
exit 0 | exit 0 | ||
fi | fi | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
Line 82: | Line 52: | ||
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 == |