[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] how to list vnc port in xen 4.1
Thanks Diego. But I think '(vncdisplay 0)' is default, because there are 2 domains running: # xl list Name ID Mem VCPUs State Time(s) Domain-0 0 2048 8 r----- 6666.9 teste4 2 498 2 -b---- 177.3 teste3 3 498 2 -b---- 19.6 In both: (vnclisten 0.0.0.0) (vncdisplay 0) (vncunused 1) Listed by ps: # ps -ef|grep qemu root 2987 1 7 08:49 ? 00:00:51 qemu-dm -d 3 -domain-name teste3 -vnc 0.0.0.0:0,password -vncunused -videoram 8 -boot c -usb -usbdevice tablet -acpi -vcpus 2 -vcpu_avail 0x3 -net none -M xenfv root 8741 1 5 Aug24 ? 00:55:41 qemu-dm -d 2 -domain-name teste4 -vnc 0.0.0.0:0,password -vncunused -videoram 8 -boot c -usb -usbdevice tablet -acpi -vcpus 2 -vcpu_avail 0x3 -net none -M xenfv And their vnc ports: # lsof -nPi | grep `ps -ef| grep "domain-name teste3"| awk '{ print $2}'` qemu-dm 2987 root 17u IPv4 78997 TCP *:5901 (LISTEN) # lsof -nPi | grep `ps -ef| grep "domain-name teste4"| awk '{ print $2}'` qemu-dm 8741 root 17u IPv4 16302 TCP *:5900 (LISTEN) In older xen, 4.0.2, the command 'xm list --long' shows vncport: (vfb (vncunused 1) (vnc 1) (uuid 841ef3a4-214a-2722-a9b2-f3936a5f0e1c) (location 0.0.0.0:5902) ) What's the new command for vncports list by domain? Best regards, -- Roberto Scudeller
2011/8/24 Diego Dave <diego.dave.s@xxxxxxxxx> Hi Roberto, _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |