Skip to main content

cpucount

Laurence MorganLess than 1 minute

cpucount

Output the number of CPU cores available on your host

Description

Output the number of CPU cores available on your host.

Usage

cpucount -> `<stdout>`

Examples

» cpucount
4

See Also

  • cpuarch: Output the hosts CPU architecture
  • os: Output the auto-detected OS name
Last update:
Contributors: Olivier Refalo