📅  最后修改于: 2022-03-11 15:04:56.330000             🧑  作者: Mango
--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