如题。我用
$str = shell_exec('more /proc/stat');
或者
popen('top -b -n 2 | grep -E "(Cpu)"',"r");
取的好象都不准确,每次都是0.4%,但在服务器上用top查看 变化是0.7,1.0,14.....一般如何快速获取啊