TOP用法

1. 查询某个进程iperf的cpu使用率,每隔1s输出一次,一共输出10次进程

top  -b -n10 -d 1 -p `pgrep iperf`>> file.txtip