add nprocessors.c
add linux cmd to nprocessors