Posts

Showing posts from July, 2022

How to Monitor Metrics in jmeter

Image
  Sub: They are two things in on-prime one is with overall CPU and memory i.e., server-level another one is to validate the process level i.e, PID while checking with TOP command in Linux or  monitoring in permon in windows. 1. For monitoring Linux server level we can use "SSHMon Sample Collector" which - sar -u 1 1 |awk '/^Average:/{print 100-$8}' For CPU - sar -b 1 1 | awk '/^Average:/ {print 0 + $2}' For I/O - sar -S 1 1 | awk '/^Average:/ {print 0 + $6}' For SWAP     This collector gets the samples with out agent and these are for global Samples for the hosts 2. For Monitoring Individual processes like tomcat, notification microservice, Orientdb service, and java services we need to install Perfmon agent in Linux servers. Steps to install perfmon : 1. create a folder and give full permissions like sudoers and download the software from wget  wget https://github.com/undera/perfmon-agent/releases/download/2.2.3/ServerAgent-2.2.3.zip . 2. unzip Server...