在收退信的时候发现,163有些退信的正文是中文的。用javamail拿到的正文内容是乱码。上网上查了下才知道,javamail是用iso-8859-1接收的,而163的中文退信是gbk的。需要用getBytes进行转换。
查看物理cpu数量:
cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l
详细可以看: http://blog.csdn.net/flysyq/archive/2008/12/11/3497649.aspx