Answer the question
In order to leave comments, you need to log in
How to measure how much RAM and CPU my web application eats on a Linux server?
How to measure how much memory and CPU my web application is eating? At this moment and for, for example, the last day, week, month ....
It is on a remote Linux server.
The charts provided by the host itself are not suitable, because I want to understand how this is done in general.
Preferably built-in, standard Linux tools, even if they are simpler than some new paid utilities.
Answer the question
In order to leave comments, you need to log in
Write a script that will grab the output of ps and pass the data to rrdtool. Display graphs in simple html or use a ready-made web interface.
https://habrahabr.ru/company/ua-hosting/blog/281519/
A ton of monitoring tools are described here, including some tools suitable for you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question