Process ID of VM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Process ID of VM

Udo Schneider
All,

is there anyway to get the PID of the VM running the image. I'm
searching for a way to differentiate different instances of the same
(read-only) image running on multiple VMs on the same server. Any other
thoughts?

Best Regards,

Udo


Reply | Threaded
Open this post in threaded view
|

Re: Process ID of VM

David T. Lewis
On Mon, Aug 19, 2013 at 11:02:37PM +0200, Udo Schneider wrote:
> All,
>
> is there anyway to get the PID of the VM running the image. I'm
> searching for a way to differentiate different instances of the same
> (read-only) image running on multiple VMs on the same server. Any other
> thoughts?
>

If you have OSProcess:

  OSProcess thisOSProcess pid

Dave


Reply | Threaded
Open this post in threaded view
|

Re: Process ID of VM

Udo Schneider


On 19.08.13 23:16, David T. Lewis wrote:
> If you have OSProcess:
>
>    OSProcess thisOSProcess pid
Thats's a good one. I'm currently checking if OSProcess is loaded and
then using it. Still searching for some way to diffrentiate images. I'm
currently thinking about generating a unique ID during image startup.

Thanks,

Udo