PerformanceCounter performance RRS feed

  • Question

  • Hello,

    I am monitoring a RDP server using Performance Counters. I need some information (user, logintime, etc... ) about the sessions, which I get using the Cassia library (wraps the TS API to .net). I cannot use the "Terminal Services Session" performance counters, because I did not find any information with which rules the instance name is determined. Therefore I use for each process in the session a performance counter.

    I do not want my monitoring to use up a lot of resources, however the performancecounters always need 2ms to execute the NextValue() method which is a lot. Is there any other way to monitor the sessions in less time or to speed up the performance counters?

    greetings mfe

    • Edited by mfelive.de Monday, September 17, 2012 7:16 AM
    Monday, September 17, 2012 7:16 AM

All replies

  • Hi mfelive.de,

      Welcome to MSDN Forum Support.

      We're doing research on this issue. It might take some time before we get back to you.


      Jason Wang


    Jason Wang [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, September 18, 2012 2:23 AM
  • From a support perspective this is really beyond what we can do here in the forums. If you cannot determine your answer here or on your own, consider opening a support case with us. Visit this link to see the various support options that are available to better meet your needs:  http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone.

    Trevor Hancock (Microsoft)
    Please remember to "Mark As Answer" the replies that help.

    Tuesday, September 18, 2012 4:28 PM