dbTalk Databases Forums  

How to differentiate process instances in perfmon

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss How to differentiate process instances in perfmon in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Denise
 
Posts: n/a

Default How to differentiate process instances in perfmon - 05-17-2005 , 12:23 PM






In a multi-instance cluster, how can you match a named sql server instance
with an instance of sqlservr.exe? When setting up counter collection in
perfmon, I choose the "process" performance object, then the "% processor
time" counter". In list of instances, I can see sqlservr#1, sqlservr#2, etc.
How do I know which named instance each of those represents?

TIA.

Reply With Quote
  #2  
Old   
Carlos Eduardo Selonke de Souza
 
Posts: n/a

Default RE: How to differentiate process instances in perfmon - 05-17-2005 , 12:54 PM






Hello

One way (I dont know if is the best way) is to match the ProcessID on
Process Counter from Performance Monitor to the ProcessID that is on the
ErrorLog from the Instance.

Something like:
PerfMon -> Process -> ProcessID -> Select SQLServer# on the instances.

Now go to SQL Server Enterprise Manager for each instance and look on the
ErrorLog for the line:
Server Process ID is 3636.

That should be easy if you need to do just on time.
--
Carlos Eduardo Selonke de Souza
http://carlos.geekbunker.org


"Denise" wrote:

Quote:
In a multi-instance cluster, how can you match a named sql server instance
with an instance of sqlservr.exe? When setting up counter collection in
perfmon, I choose the "process" performance object, then the "% processor
time" counter". In list of instances, I can see sqlservr#1, sqlservr#2, etc.
How do I know which named instance each of those represents?

TIA.

Reply With Quote
  #3  
Old   
Denise
 
Posts: n/a

Default RE: How to differentiate process instances in perfmon - 05-17-2005 , 01:41 PM



That's a good idea, thanks for the suggestion.

I don't have access to the error log on all the servers, but I can use
SELECT SERVERPROPERTY ('processid')

"Carlos Eduardo Selonke de Souza" wrote:

Quote:
Hello

One way (I dont know if is the best way) is to match the ProcessID on
Process Counter from Performance Monitor to the ProcessID that is on the
ErrorLog from the Instance.

Something like:
PerfMon -> Process -> ProcessID -> Select SQLServer# on the instances.

Now go to SQL Server Enterprise Manager for each instance and look on the
ErrorLog for the line:
Server Process ID is 3636.

That should be easy if you need to do just on time.
--
Carlos Eduardo Selonke de Souza
http://carlos.geekbunker.org


"Denise" wrote:

In a multi-instance cluster, how can you match a named sql server instance
with an instance of sqlservr.exe? When setting up counter collection in
perfmon, I choose the "process" performance object, then the "% processor
time" counter". In list of instances, I can see sqlservr#1, sqlservr#2, etc.
How do I know which named instance each of those represents?

TIA.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.