How to measure CPU and memory during load test

后端 未结 5 1410
别跟我提以往
别跟我提以往 2021-02-02 11:54

We are using JMeter in a heterogeneous environment and we would like to measure CPU and memory while we are producing heavy load on a server where our service or web application

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-02 12:45

    From the java perspective, you can use jconsole or write your own code to monitor the memory usage.

    1. Measure CPU and memory consumption of a Java application
    2. javasysmon on github
    3. dstat for linux and perfmon for windows. Read more

提交回复
热议问题