[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] how to know processes running inside domU



In the same vein, you still log in, but if you wanted to automate, you could do 
something like:

ssh admin@xxxxxxxx "ps aux | grep someprocessname"

Or, to completely automate it you can set up SSH with certificate based 
authentication between the
dom0 and domU, then you don't even need to enter a password to get the above to 
work (after
unlocking the cert for the session).

I've written a script to do this, which I describe here:

http://www.zanecorp.com/wiki/index.php/SSH_with_Certificates

There's also a link at the bottom to the tutorial which I derived the script 
from which shows you
how to manually set it up.

Nux wrote:
> On Wed, 3 Mar 2010, yashwanth wrote:
> 
>> Dear all,
>>
>>      I wanted to know the processes running inside domU from dom0.
>>      Is it possible? if yes,how to know?
>>
>> Thanks & Regards,
>> Yashwanth
> 
> Hi,
> 
> You must be logged in to it, either via console or ssh and issue a ps
> command.
> I don't think there is other way.
> 
>>
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 


-- 
twitter: zanerock

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.