如何查看一个进程的CPU,内存,IO使用量

Latest response

通过 free -m 命令,可以看到内存的使用概况,如何进一步了解每个进程的内存使用量。
比方说,我在服务器上安装了3个MySQL数据库,我如何确定每个MySQL数据库占用的MEM数量。

同样,通过iostat -m 1 10名称,我能看到/dev/sda设备的Read、Write的量,如何判断是哪个进程发起的。

Responses

Hi,

As most of the users of this community speak English, you will likely receive more assistance if you can post in that language. For support in your preferred language, please open a Red Hat support case

嗨,

由于大多数这个社区的用户说英语,你可能会得到更多的帮助,如果你能在该语言发布。支持在您的首选语言,请打开Red Hat支持案例

cpu 内存可以使用 top
io的话 可以使用 iotop

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.