How can I measure the actual memory usage of an application or process?

后端 未结 30 3108
心在旅途
心在旅途 2020-11-22 03:01

This question is covered here in great detail.

How do you measure the memory usage of an application or process in Linux?

From the blog articl

30条回答
  •  轮回少年
    2020-11-22 03:34

    A good test of the more "real world" usage is to open the application, run vmstat -s, and check the "active memory" statistic. Close the application, wait a few seconds, and run vmstat -s again.

    However much active memory was freed was in evidently in use by the application.

提交回复
热议问题