How do I determine which VPs a process belongs?

Source: Internet
Author: User
Tags vps

Solution
First, log on to the hardware node, open the task manager, and find the process to be investigated.
Click "View" in the task manager, find "Select column", and select the "session ID" dialog box.
Now, from the task manager, you can see the session ID of each process, that is, sessionid.

Log on to the hardware node, open the CMD command line, and execute the following command vzquery -- Help

C: \> vzquery
Usage:
Vzquery.exe is the utility to display the existing relations
Among vpss, their sessions and processes.
Synopsis:
Vzquery s2v <session_id>
Vzquery V2s <vps_id>
Vzquery p2v <process_id>
C: \>

This command has several functions: Investigating vpsid Based on session ID, investigating vpsid based on process ID, and investigating session ID based on vpsid
For exampleProgramIf the session ID is 12, run the following command:
Vzquery s2v 12

For example, the following result is obtained:

C: \> vzquery s2v 12
Session ID: 12
Virtual Private cloud (VPs) ID: 107
C: \>

The number of the VPs output.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.