Quantcast
Viewing all articles
Browse latest Browse all 47296

How can I sum total memory used by a process?

I need to calculate total memory used by a process. There are multiple processes with same root and suffixes. But data sampling is not consistent. Sometimes it comes in as 2 per minute, sometimes 4. Here is a sample: 09/07/2017 14:25:56.050 -0400 ,instance=server#1 ,Value=31827849216 09/07/2017 14:25:56.050 -0400 ,instance=server ,Value=30434951168 09/07/2017 14:25:11.065 -0400 ,instance=server#1 ,Value=31827849216 09/07/2017 14:25:11.065 -0400 ,instance=server ,Value=30434951168 09/07/2017 14:24:26.064 -0400 ,instance=server#1 ,Value=31827849216 09/07/2017 14:24:26.064 -0400 ,instance=server ,Value=30434922496 How do I sum it for server* by a minute? Can't do average as it would show half the memory used, can't sum as it would show double for times with 4 samples.

Viewing all articles
Browse latest Browse all 47296

Trending Articles