January 7, 2019 at 12:29 pm
Hi, I was hoping to get a query that will show me CPU, memory used, and Disk IO for SQL Server( not SP_WHO2)
And a separate query to get blockings on SQL Server. thanks
January 7, 2019 at 12:50 pm
SELECT [object_name]
,[counter_name]
,[instance_name]
,[cntr_value]
,[cntr_type]
FROM [master].[sys].[dm_os_performance_counters]
January 7, 2019 at 12:56 pm
RGP - Monday, January 7, 2019 12:29 PMHi, I was hoping to get a query that will show me CPU, memory used, and Disk IO for SQL Server( not SP_WHO2)
And a separate query to get blockings on SQL Server. thanks
If you download Glenn Berry's diagnostic scripts, there are queries for all of those, including blocking:
SQL Server Diagnostic Information Queries for December 2018
Sue
January 7, 2019 at 1:13 pm
Thanks guys, I was looking for a single query that will give me CPU, IO and memory displayed for the sql instance (just an overview)
Something like this:
CPU | IO | Memory |
2% | 5% | 5% |
January 8, 2019 at 3:43 am
RGP - Monday, January 7, 2019 1:13 PMThanks guys, I was looking for a single query that will give me CPU, IO and memory displayed for the sql instance (just an overview)
Something like this:
CPU IO Memory 2% 5% 5%
I think Perfmon is the tool for this.
January 8, 2019 at 5:26 am
Jonathan AC Roberts - Tuesday, January 8, 2019 3:43 AMRGP - Monday, January 7, 2019 1:13 PMThanks guys, I was looking for a single query that will give me CPU, IO and memory displayed for the sql instance (just an overview)
Something like this:
CPU IO Memory 2% 5% 5% I think Perfmon is the tool for this.
+100. Add the needed counters in perfmon and schedule it some days. Can you take a look later can can correlate.
Muthukkumaran Kaliyamoorthy
https://www.sqlserverblogforum.com/
January 8, 2019 at 7:29 am
muthukkumaran Kaliyamoorthy - Tuesday, January 8, 2019 5:26 AMJonathan AC Roberts - Tuesday, January 8, 2019 3:43 AMRGP - Monday, January 7, 2019 1:13 PMThanks guys, I was looking for a single query that will give me CPU, IO and memory displayed for the sql instance (just an overview)
Something like this:
CPU IO Memory 2% 5% 5% I think Perfmon is the tool for this.
+100. Add the needed counters in perfmon and schedule it some days. Can you take a look later can can correlate.
thanks
January 8, 2019 at 7:54 am
Sue_H - Monday, January 7, 2019 12:56 PMRGP - Monday, January 7, 2019 12:29 PMHi, I was hoping to get a query that will show me CPU, memory used, and Disk IO for SQL Server( not SP_WHO2)
And a separate query to get blockings on SQL Server. thanksIf you download Glenn Berry's diagnostic scripts, there are queries for all of those, including blocking:
SQL Server Diagnostic Information Queries for December 2018Sue
thanks
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply