About the CPU cores, I guess you can invoke C code, so to get the number of CPUs on Mac OS X you can call sysctlbyname() with "machdep.cpu.core_count". Or, if you want to know how much concurrency is available, use "machdep.cpu.thread_count"
Awesome, thanks for that, I'll look into it! As long as I don't have to install anything else, that's great.