You can capture data that a running program sends by directing the output to an output serial port. You can read the output file to view the data.

1

In the Inventory panel, select the virtual machine to modify.

2

In the Commands section of the Summary tab, click Add Hardware.

The Add Hardware wizard opens.

3

Click Serial Port.

4

Click Use Output File to send the output of an application that is running in the guest operating system to a file on the host machine.

5

On the Properties page, enter the path and filename for the output file or click Browse to navigate to the file.

6

(Optional) To connect this virtual machine to the host’s output file when the virtual machine is powered on, select Connect at power on (the default).

7

(Optional) Expand I/O Mode to select Yield CPU on poll, which is deselected by default.

The kernel in the target virtual machine uses the virtual serial port in polled mode, not interrupt mode.

This option applies only to Windows hosts.

8

Click Next.

9

In the Ready to Complete page, review the configuration summary and click Finish.

The operating system recognizes the new serial port the next time you power on the virtual machine.