如何指到一个进程使用的内存?

已更新 -

有很多中方法可以指到进程使用的内存。通常可以使用ps命令查看。

ps -aux的输出中经常包含如下的一些信息。

VSZ 是进程使用的虚拟内存大小. (包括内存和SWAP空间上)

RSS 指的是驻留在内存中的大小。

大部分程序都使用共享库,注意VSZ和RSS会包含共享库的部分。如果多个进程ƒ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content