Jump to content


nhottinger

Report or Query to show number of physical processors

Recommended Posts

SELECT        v_R_System.Netbios_Name0, v_GS_COMPUTER_SYSTEM.NumberOfProcessors0, 
                         v_GS_PROCESSOR.NumberOfCores0, v_GS_PROCESSOR.NumberOfLogicalProcessors0, v_GS_OPERATING_SYSTEM.Caption0 AS Expr1
FROM            v_R_System INNER JOIN
                         v_GS_PROCESSOR ON v_R_System.ResourceID = v_GS_PROCESSOR.ResourceID INNER JOIN
                         v_GS_OPERATING_SYSTEM ON v_R_System.ResourceID = v_GS_OPERATING_SYSTEM.ResourceID INNER JOIN
                         v_GS_COMPUTER_SYSTEM ON v_R_System.ResourceID = v_GS_COMPUTER_SYSTEM.ResourceID
WHERE        (v_R_System.Is_Virtual_Machine0 = 0) AND (v_GS_OPERATING_SYSTEM.Caption0 LIKE N'%server%')
GROUP BY v_R_System.Netbios_Name0, v_GS_COMPUTER_SYSTEM.NumberOfProcessors0, v_GS_PROCESSOR.NumberOfCores0, 
                         v_GS_PROCESSOR.NumberOfLogicalProcessors0, v_GS_OPERATING_SYSTEM.Caption0

This should work.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.