M
M
Michael2019-09-02 09:04:35
System administration
Michael, 2019-09-02 09:04:35

How to identify a process that gives a strong CPU load and the system as a whole?

Earlier, I sinned on the web server and thought that it was some kind of bot loading the server at a certain time (and by 6 am Moscow time), but after a month of observation, I came to the conclusion that this is not a web, something else.
Question: how to determine the load source by regular means?
5d6cb07d1995f055603433.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SunTechnik, 2019-09-02
@SunTechnik

top sorts processes based on the resources they consume.
Then either keep it constantly running, or write scripts:
- Using Cron, we look at the current download. If it exceeded the threshold, collect the system state
( ps ; top etc.).
Let's take a look at the logs...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question