B
B
Barido2017-09-22 09:12:06
linux
Barido, 2017-09-22 09:12:06

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

3 answer(s)
M
moh-mog-drinks, 2017-09-22
@moh-mog-drinks

standard - only the current load.
e.g. top utility

D
Dmitry Shapkin, 2017-09-22
@WopeN

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.

V
Vladimir Mukovoz, 2017-09-22
@castomi

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 question

Ask a Question

731 491 924 answers to any question