3
Nov
Find System information using SQL Server5.052

How to find System information in SQl Server using Select Statement below,

SELECT * FROM sys.dm_os_sys_info

Get from the Particular fields above query,

SELECT CPU_Count,HyperThread_Ratio,Physical_Memory_In_Bytes / 1048576 as ‘Memory_In_MB’,Virtual_Memory_In_Bytes / 1048576 as ‘Virtual_Memory_In_MB’,
Max_Workers_Count,OS_Error_Mode,OS_Priority_Class FROM sys.dm_os_sys_info

Results :

CPU_Count   HyperThread_Ratio Memory_In_MB         Virtual_Memory_In_MB Max_Workers_Count OS_Error_Mode OS_Priority_Class
———– —————– ——————– ——————– —————– ————- —————–
2           2                 1013                 2047                 256               5             32

Reference : http://source.witssquare.com

VN:F [1.7.4_987]
Rating: 5.0/5 (2 votes cast)
VN:F [1.7.4_987]
Rating: +2 (from 2 votes)

Tags: , , , , , ,

This entry was posted on Tuesday, November 3rd, 2009 at 4:03 am and is filed under SQL Server. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or TrackBack URI from your own site.

Leave a reply

Name (*)
Mail (*)
URI
Comment