how to check how many cpus you have on linux code example Example: chcek number of cpus available on linux machine lscpu | egrep 'CPU\(s\)'