Added number of cores detection for load avgs.