Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



dbo.sysutility_ucp_instance_cpu_utilization

  No additional text.


Syntax
CREATE VIEW dbo.sysutility_ucp_instance_cpu_utilization AS
(
    -- server_object_type = 2
    -- processor_resource_type = 3
    -- target_type = 4
	
    SELECT ip.server_instance_name AS server_instance_name
        , SUM(CASE WHEN ip.utilization_type = 1 THEN 1 ELSE 0 END) AS under_utilized_count
        , SUM(CASE WHEN ip.utilization_type = 2 THEN 1 ELSE 0 END) AS over_utilized_count
    FROM msdb.dbo.sysutility_ucp_instance_policies ip
		INNER JOIN msdb.dbo.sysutility_ucp_policy_violations pv
			ON ip.policy_id = pv.policy_id AND ip.powershell_path = pv.target_query_expression
    WHERE ip.resource_type = 3
       AND ip.target_type = 4
    GROUP BY ip.server_instance_name
)
 
Last revision
See also

  sp_sysutility_ucp_calculate_mi_health (Procedure)
       



News

  Query a named instance
Sybase+ASE+silent+install
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
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash