How to get data of SQL Server PerfMon Counters without running Performance Monitor tool?


Execute the query againts sys.dm_os_performance_counters DMV to get the result.

SELECT * FROM sys.dm_os_performance_counters

sys.dm_os_performance_counters output

Thanks for the comment, will get back to you soon... Jugal Shah