PDA

View Full Version : OpenVZ - How to discover virtual machine / VPS which running that process?



Fli
08-18-2014, 10:58 AM
Hello,

on OpenVZ server i can see processes which are runing not only on this server OS, but also in its openvz virtual machines / VPSes.

so i want to ask how i can easilly and quickly discover which VPS running certain process?

im using ps aux, top -c and htop to get process list.

-----------

UPDATE:

use "vzpid" with process id obtained from top or ps aux commands

example: vzpid 15364