[20131226]linux下使用pigz高效传输文件.txt http://zlib.net/pigz/ pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. pigz was
#Cat /proc/cpuinfo linux下 /proc/cpuinfo 文件会显示cpu的信息 processor 会从0开始记数,继续下去多个cpu flags 如果有 ht 说明支持超线程技术 判断物理CPU的个数可以查看physical id 的值,相同则为同一个物理CPU processor : 4 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.00G