📜  获取 cpu 详细信息 sql 代码示例

📅  最后修改于: 2022-03-11 15:04:56.330000             🧑  作者: Mango

代码示例1
--get cpu details using sql query
EXEC sys.xp_readerrorlog 0, 1, N'detected', N'socket';

SELECT socket_count, cores_per_socket, cpu_count 
FROM sys.dm_os_sys_info