VMware Communities
VladimirVlasov
Contributor
Contributor

Suse9/10, VMware Workstation 5.5/6.0, list of running VMs

Hi.

I have several SUSE 9/10 hosts with VMware Workstation 5.5/6.0 installed.

I need to write automation script and there is task to collect list of started VMs.

According to documentation there is "vmrun list" command for such purpose.

But I found that actually it shows running VMs ONLY FOR CURRENT USER.

It means that if user A and user B are runnning one VM each then executing "vmrun list" user A see only one running VM which is started by him and user B see only his VM too. B doesn't see that A is running another VM and A doesn't see that B is running another VM.

So, questions:

1) is it right behavior for "vmrun list"?

2) how to get list of really all running VMs?

I can write advenced script with "ps" output parsing but don't like to do it.

Actually I'm confused with thing I found.

0 Kudos
0 Replies