http://icesquare.com/wordpress/phphow-to-get-the-number-of-cpu-cores-in-fedora-ubuntu-and-freebsd/
Linuxなら、
FreeBSDなら、cat /proc/cpuinfo | grep processor | wc -l
sysctl -n hw.ncpu
FreeBSDなら、cat /proc/cpuinfo | grep processor | wc -l
sysctl -n hw.ncpu
> cpan install Net:Wake
export PERL5LIB=$HOME/perl5/lib/perl5