Editing User Guide/Operations on Containers
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 175: | Line 175: | ||
# vzlist 101 | # vzlist 101 | ||
CTID NPROC STATUS IP_ADDR HOSTNAME | CTID NPROC STATUS IP_ADDR HOSTNAME | ||
− | + | 101 10 running 10.0.186.1 server101.mydomain.com | |
− | Still another way of getting the Container status is checking the <code>/proc/vz/veinfo</code> file. This file lists all the Containers currently running on the Hardware Node. Each line presents a running Container in the '' | + | Still another way of getting the Container status is checking the <code>/proc/vz/veinfo</code> file. This file lists all the Containers currently running on the Hardware Node. Each line presents a running Container in the ''CT_ID reserved number_of_processes IP_address...'' format: |
# '''cat /proc/vz/veinfo''' | # '''cat /proc/vz/veinfo''' | ||
− | + | 101 0 10 10.0.186.1 | |
0 0 79 | 0 0 79 | ||
− | This output shows that Container 101 is running, there are | + | This output shows that Container 101 is running, there are 20 running processes inside the Container, and its IP address is 10.0.186.1. The second line corresponds to the Container with ID 0, which is the Hardware Node itself. |
The following command is used to stop a Container: | The following command is used to stop a Container: |