我想使用statsd和石墨来监视linux进程(记录cpu和ram的使用统计数据,并在一段时间内以图形方式显示它们)。我已经将statsd和graphite配置为作为服务运行。如何将linux资源使用统计数据(即CPU和RAM)发送到statsd,以便可以在graphically web UI中以图形方式查看它们?
谢谢。
我的epoll_wait()占用了太多的CPU,一个简单的strace显示: Process 3655 attached with 5 threads Process 3656 detached Process 3658 detached % time seconds usecs/call calls errors syscall