F
F
freehabr2017-07-24 14:17:23
linux
freehabr, 2017-07-24 14:17:23

What needs to be configured on a Linux server in order to collect statistics on which applications are eating resources?

There is a Linux server, periodically it slows down for one reason or another. I would like to run automated monitoring on it, which collects statistics on which applications / commands eat a lot of processor / memory / disk access / traffic. How to do it?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Victor Taran, 2017-07-24
@shambler81

htop iotop mytop

C
cssman, 2017-07-24
@cssman

top > file
pick up via ssh or put it on the ball with a script
if you want more abruptly and with a reserve for the future - snmp monitoring

A
Alexey Cheremisin, 2017-07-24
@leahch

Install collectd + influxdb + grafana - for example, follow this tutorial - https://howitmake.ru/blog/ubuntu/168.html
Well, the network is full of data on how to do this. This is how we monitor the cluster.
Yes, there is also a nice netdata project - https://my-netdata.io
We look at it, but it cannot centrally store data (I can be wrong), but for one server it will certainly work for you. Works very fast, eats very little.

V
Valentine, 2017-07-26
@ProFfeSsoRr

For a single netdata server, this is a great solution, give it a try.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question