|
|

楼主 |
发表于 2006-3-17 20:46:35
|
显示全部楼层
参考了一下 gnuplot 的 demo,用如下办法解决了:
plot '/tmp/cpuinfo.dat' using 3 with lines title '%cpu.user', \
> '/tmp/cpuinfo.dat' using 6 with lines title '%cpu.iowait', \
> '/tmp/cpuinfo.dat' using 5 with lines title '%cpu.system', \
> '/tmp/meminfo.dat' using 3 with lines title '%mem', \
> '/tmp/meminfo.dat' using 8 with lines title '%swap' |
|