Home Microsoft SQL Server DigiMailing iRN Contact


  No additional text.

CREATE VIEW dbo.sysutility_ucp_computer_cpu_utilization AS
    -- computer_object_type = 3
    -- processor_resource_type = 3
    -- target_type = 1
    SELECT cp.physical_server_name as physical_server_name
        , SUM(CASE WHEN cp.utilization_type = 1 THEN 1 ELSE 0 END) AS under_utilized_count
        , SUM(CASE WHEN cp.utilization_type = 2 THEN 1 ELSE 0 END) AS over_utilized_count
    FROM msdb.dbo.sysutility_ucp_computer_policies cp
		INNER JOIN msdb.dbo.sysutility_ucp_policy_violations pv
			ON cp.policy_id = pv.policy_id AND cp.powershell_path = pv.target_query_expression
    WHERE cp.resource_type = 3
        AND cp.target_type = 1
    GROUP BY cp.physical_server_name
Last revision
See also

  sp_sysutility_ucp_calculate_computer_health (Procedure)
sysutility_ucp_computer_cpu_utilizations (View)


  Query a named instance
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
Zoekmachine optimalisatie
SQL Servers hidden objects
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
sIFR; de combinatie tussen HTML en Flash