PowerCLI

 View Only
  • 1.  How do I view the processes on an Active VM remotely?

    Posted Feb 02, 2012 05:21 PM

    We are running View 4.6 on ESXi 4.1.0 using vSphere 4.1.0

    The issue I am having is I have VMs that show aberant memory and/or CPU usage (typically maxed out).  I would like to be able to see what processes/programs are running on those VMs remotely with out kicking the user off, so that I can determine if the aberant usage statistics are bassed on work related needs, non-work related use, or a problem with the system.  I imagine there is a way to do this I just have yet to be able to figure it out.

    If someone can tell me how to do this or even just point em in the right direction I would really appreciate it.

    John



  • 2.  RE: How do I view the processes on an Active VM remotely?

    Posted Feb 02, 2012 06:30 PM

    If you want a command line tool, vmrun, which is part of the VIX API (http://vmware.com/go/vix) will list the processes in a VM.

    Ex:

    vmrun -h myVCServer.example.com -u Admin -p password -gu GuestAdmin -go GuestPassword listProcessesInGuest "[storage1] myVm/myVm.vmx"

    If you'd prefer something with a graphical interface, you can take a look at the VMware Guest Console (http://labs.vmware.com/flings/vgc).

    These won't give CPU usage statistics, but you'll be able to see the names and command lines, who started them, and the process IDs.



  • 3.  RE: How do I view the processes on an Active VM remotely?

    Posted Mar 12, 2012 06:56 PM


  • 4.  RE: How do I view the processes on an Active VM remotely?

    Posted Feb 05, 2012 03:08 PM

    Hi

    please foolw this link theings are explained well -http://www.activexperts.com/network-monitor

    ________________________________
    If at first you don't succeed, skydiving is not for you

    http://imagicon.info/cat/5-59/vbsmile.png