examples: read number of cpus from /proc/cpuinfo