get nprocs, print newlines properly