类似Perfmon的Linux? [英] Perfmon-like for Linux?

查看:84
本文介绍了类似Perfmon的Linux?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows中,有一个性能监视器来监视系统的各种性能方面(称为 counters ).

In windows there is perfmon to monitor various performances aspects (called counters) of the system.

Linux是否有类似perfmon的东西?

尤其是对...有兴趣的人

especially, in interested in...

  • CPU使用率(总计/每个进程/在内核中)
  • 内存使用情况(总计/每个进程/在内核中)

...是否可以将这些信息存储在文件中以供将来分析?

...Is it possible to store this information in files for future analysis?

推荐答案

程序"top"完成了大多数操作.但是它不能处理网络流量.

The program "top" does most of this. It does not handle network traffic though.

如果您需要记录此信息以进行后期处理/分析,则可以使用标准软件包"sar"来执行此操作.它支持许多不同的性能编号,包括:磁盘,cpu,内存,网络等.

If you need to log this information for post processing/analysis you can use the standard package "sar" to do this. It supports MANY different performance numbers including: disk, cpu, memory, network, etc.

sar联机帮助页

这篇关于类似Perfmon的Linux?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆