How many cores does the system have?

Get the number of CPU cores in the system

Run this query

To run this query, you can use the following command:

anyquery run how_many_cores_does_the_system_have

Arguments

This query does not require any arguments.

Additional informations

Source code Author

Tip

You can limit the number of results returned by a query using the --limit flag. For example, to limit the results to 10 rows, run anyquery run --limit 10.