How does my CPU usage suddenly peak ?

April 18, 2019 252 views
Monitoring Ubuntu 18.04

Hi,

Ubui am running an ubuntu 18.10 on a Droplet with enabled monitoring and have set it to notify me when CPU usage is higher than 80% for testing purposes.

What i noticed is that there was a sudden peak of 89% CPU Usage while the machine is powered on however not in use so i wonder if there is a way for me to know what processes have exploited CPU %?

Is this normal behaviour ?

Respect

1 Answer

Greetings!

It's hard to say what it could be, it's not particularly unusual. Perhaps someone tried a strong and distributed brute force attack against a public facing service. Perhaps you have a web server running and a crawler came along to hammer away at it.

If I ever need to get down to that kind of level and find out what happened at a specific time, I usually prefer syssnap to do the job. It's made by cPanel but by no means requires their other software to be installed.

https://github.com/CpanelInc/tech-SysSnapv2

Jarland

  • Thanks for your answer and suggestions Jarland,

    the situation is i have installed only GO lang with only 1 hello world printiln script and Yarn on that droplet.

    I was not using the machine and was not connected to it during the time when i received the alert. It says that local disk usage(read/write) was increased and droplet memory is up for 10%.

    I dont know if some automatic updates are enabled by default when instantiating a droplet, but i would like to clarify this behavior so i would not get surprised when i need to run monitoring for a more serious solution.

    Any guidance is appreciated,
    My best

Have another answer? Share your knowledge.