Score:0

How to check what triggered high CPU usage on past days, on Digital Ocean?

jp flag

I want to investigate what caused a high cpu usage for several hours on 1/16. Digital Ocean graph shows a prolonged high cpu usage in the course of about 12 hours. Is there a log somewhere that I can tap into that would reveal to me more detail about this issue?

Score:1
np flag

Digital Ocean doesn't logs your processes. This will mess up with your VM and privacy.

You have to log these on your own inside your VM. One of the options is to use atop tool, it can start as a daemon and log usage stats into a file. There a lot of other options actually.

Digital Ocean even have an article on this: https://www.digitalocean.com/community/tutorials/how-to-monitor-cpu-use-on-digitalocean-droplets

But it actually offers to enable alerts on total CPU usage with their tools and later use a top tool for real-time analysis. I think atop record usage to a file approach are more feasible.

jp flag
Thank you, will do.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.