获得CPU个数

int cpus=Runtime.getRuntime().availableProcessors();
posted @ 2010-04-14 05:55  macula7  阅读(134)  评论(0编辑  收藏  举报