PerfMon & SQL MPA

  • Does anyone know of a PerfMon counter for the SQL MPA?

    I'm looking for a way to record the output of this query, on a regular basis like a PerfMon counter:

    select sum(multi_pages_kb)/1024.0 as multipage_mb

    from sys.dm_os_memory_clerks

  • If I remember correctly, you can create a customer counter in System Monitor with your own query.

    John

  • Is System Monitor a 3rd party tool?

  • Maybe I'm using the wrong name - it's actually called Performance on my machine. It's what you referred to as PerfMon. Sorry, I should have checked before posting.

    John

  • Do you know how to add a custom SQL query to PerfMon? I can't figure it out.

  • The performance object is called SQLServer:User Settable and the counter is called Query. I can't remember how you get the query into the system and I'm afraid I don't have time to look into it right now, but you should be able to find some information if you search for it.

    John

  • Cool, I will give it a shot. Thanks.

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply