Hi.
When I run this query on a specific server I get NOTHING returned... No values at all. 2012SP1 (forced, vendor will not allow me to update!)
SELECT @@SERVERNAME AS [Server Name], [object_name], instance_name, cntr_value AS [Page Life Expectancy]
FROM sys.dm_os_performance_counters WITH (NOLOCK)
WHERE [object_name] LIKE N'%Buffer Node%' -- Handles named instances
AND counter_name = N'Page life expectancy' OPTION (RECOMPILE);
Yet, when I run against other SQL Servers it works fine. Even with the EXACT same SQL Version number. Any ideas? Thanks.
mg