Search code examples
jmeter-plugins

Server agent is running in linux machine were services are running on different ports how can we get the cpu utilized on different ports?


In jmeter, Server agent is running with IP XXX.XXX.X.XXX. Linux machine were services are running on different ports. How can we get the CPU utilized on different ports and can we configure that in jmeter?


Solution

  • If you need to get CPU usage per process on a Linux host you can use EXEC metric

    ps -p <pid of process one> -o %cpu
    

    Example configuration:

    JMeter PerfMon Per Process CPU

    References: