determine num of cpus
install command in rc.local to restart app upon server reboot