Storing Data from OSCapture in a Log File
Other versions of this page are also available for the following:
8/27/2008
At any time while the OSCapture.exe application runs on a target device, you can instruct it to store the data currently buffered in RAM to a log file. The following procedure shows the ways to trigger a running instance of OSCapture to store the data to a log file.
To store data from OSCapture.exe in a log file
On the target device, run OSCapture using the command line
oscapture.exe -c
- or -
On the target device, have an application call the SetEvent function on the event named SYSTEM/OSCaptureTrigger.
You may find it convenient to create a shortcut that you can use to trigger OSCapture. If you place this shortcut file on the device start menu or desktop, you can click on it when you want OSCapture to store recent activity in a log file.
Note
Trigger OSCapture as many times as you like. If you capture to a file more than once, each subsequent time the most recent data is appended to the existing contents of the log file.
When you are done collecting data, you can view it with Remote Kernel Tracker after preparing it for viewing. For more information, see Preparing an OSCapture File for Viewing in Kernel Tracker.
For Windows Embedded CE:
For more information about creating a .lnk shortcut, see Creating a Shortcut File.