Solved

Find how many CPUs are alloacted to each VM SQL Server 2008R2

Posted on 2013-12-09
1
229 Views
Last Modified: 2013-12-09
Is there a script to find how many CPUs are alloacted to each VM for SQL Server 2008R2?
0
Comment
Question by:JGH5
1 Comment
 
LVL 19

Accepted Solution

by:
jss1199 earned 500 total points
ID: 39707051
1. Count CPUs - select cpu_count from sys.dm_os_sys_info
2. Count cores - 1
select scheduler_id,cpu_id, status, is_online from sys.dm_os_schedulers where status='VISIBLE ONLINE'
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VIDEO DATASOURCE Control Resize issue 2 19
best counters for cpu high usage 3 30
create an aggregate function 9 34
performance query 4 22
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question