🧀 Learn Linux

Commonly used · Observation system

nproc: Query the number of available processors

Put in free practice

Syntax

nproc

Examples

nproc

Usage and sandbox support

Teaching fixed value 4, device information is not read.

Hands-on exercises

Full documentation ↗

Related commands