#1 Enable Vprobes on Server 2.0 per http://communities.vmware.com/thread/193662, including CYGWIN install
#2 Install TortoiseSVN http://tortoisesvn.tigris.org/
#3 SVN Checkout... https://vprobe-toolkit.svn.sourceforge.net/svnroot/vprobe-toolkit
#4 Install WinHugs http://www-users.cs.york.ac.uk/~ndm/downloads/
#5 Place winprobe script in your vprobe-toolkit\bin folder created in step #3
There are some user defined constants in the winprobe script. I would like it if somebody posted an update to the winprobe script as I am not familiar with bash scripting.
User defined winprobe constants:
winprobe execution takes three parameters to load a probe from a VP source file (Emmet script):
#6 Open CYGWIN shell and set environment variables to help with execution:
You can also set these variables permanently within the Windows System Environment Variables
#7 Load a probe:
hello.emt:
You should see output every 100ms...
#2 Install TortoiseSVN http://tortoisesvn.tigris.org/
#3 SVN Checkout... https://vprobe-toolkit.svn.sourceforge.net/svnroot/vprobe-toolkit
#4 Install WinHugs http://www-users.cs.york.ac.uk/~ndm/downloads/
#5 Place winprobe script in your vprobe-toolkit\bin folder created in step #3
There are some user defined constants in the winprobe script. I would like it if somebody posted an update to the winprobe script as I am not familiar with bash scripting.
User defined winprobe constants:
COMPILER=/cygdrive/c/progra~1/winhugs/runhugs.exe
VMRUNCNX=" -T server -h https://localhost:8333/sdk -u user -p pass"
VMRUN=/cygdrive/c/progra~1/VMware/VMware~1/vmrun.exe$VMRUNCNX
out=$($COMPILER -98 c:\\vprobe-toolkit\\emmett\\main.lhs -c "$cmd" $compileargs $files) || die "compile error" 2
VMRUNOUT=$($VMRUN vprobeLoad "$VM" "$out" 2>&1)|| die "vmrun error:$VMRUNOUT" 3
winprobe execution takes three parameters to load a probe from a VP source file (Emmet script):
./winprobe [vpsourcefile] /path/to/vm /path/to/vm_directory
#6 Open CYGWIN shell and set environment variables to help with execution:
VM1="[standard] store\Windows Server 2003 Standard Edition.vmx"
VM1DIR="/cygdrive/d/virtua~1/store"
You can also set these variables permanently within the Windows System Environment Variables
#7 Load a probe:
hello.emt:
VMM10Hz {
logstr("Hi\n");
}
./winprobe hello.emt "$VM1" "$VM1DIR"
You should see output every 100ms...
Attachments:
- winprobe (2.1 K)