Hi,
When the SQL Server service starts, it will record the detected hardware, memory and CPU information in the errorlog. Similar to the record below.
SQL Server detected 1 sockets with 4 cores per socket and 8 logical processors per socket, 8 total logical processors; using 8 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
For different SQL Server editions,the available processors are also different. Please check the Compute capacity limits by edition of SQL Server for more details.