Chitresh Kumar

Chitresh Kumar

  • NA
  • 2
  • 6.1k

Implementing Performance monitor in c#

Jul 22 2013 1:56 AM
 Hi,
 
I am developing an utility in c#, to start and stop Data Collector Set in performance Monitor(Perfmon) and to set the path and format of subdirectory of report generated in perfmon programatically.
I have done for starting and stoping Data Collector Set, but I am not able to find how to set path and format of subdirectory of report generated.
Actually it is generated in respective user's directory within C:\PerfLogs. And I want that it get generate at another location e.g: D:\PerfmonLogs.
Could you please help me to do this.
kindly share any references for examples to implement this in c#.








Thanks
Chitresh