Solved

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

Posted on 2013-12-09
1
230 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQl Query to find x consecutive Nbrs in a Table 30 97
SQL Dump exec output to table 3 23
Are triggers slow? 7 14
Error when creating a table from a function 6 20
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
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.

830 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