Tuesday 27 January 2015

Start AX Perfmon event trace remotely

There are several ways to create traces in AX2012 for performance monitoring/optimization. One of these is by using Windows Performance Monitor. Details of how to do this can be found here.

As this trace is configured on the AOS, so to start the trace you'll have to log in to the AOS. Use the following command to do this remotely.

Start Trace
logman.exe Start "<DATA_COLLECTOR_SET_NAME>" -S <SERVER_NAME>
Stop Trace
logman.exe Stop "<DATA_COLLECTOR_SET_NAME>" -S <SERVER_NAME>
Double quotes around data collector set name are required only if the it have a space.

This posting is provided "AS IS" with no warranties. Use code at your own risk.

No comments:

Post a Comment