Does anyone know the function of the command "vmware-vim-cmd vimsvc/connect (vimid)". I thought that after executing this command with correct virtual machine id, I will be connected to the shell of this virtual machine. But it only shows "already connected" and exits. Am I making some mistake in the syntax of command? Or the function of this command is completely different from what I have thought of?
First what are you trying to do?
From what I gather from above you are more looking get to the command shell of a VM? If its linux vm would just using ssh be better for what you are trying to do?