System Info - CPU Usage chart
-
Hi, would it be possible to include the services/processes within the CPU Usage chart?
Some context. My chart is looking like this at the moment:
The blue line is shown as "CPU" while the other lines are apps.
If I open
top
from within the shell, I can see there are 3 processes which are utilizing a lot of CPU:- mysqld: After enabling
performance_schema
through these instructions (thanks by the way!), I've found out that one of my apps has inefficient queries. It would be very very helpful to me if this CPU load would be included as part of this specific app within the chart. - minio: Pretty much the same as what was happening with mysqld, I'd expect this CPU load to be included in my Minio app.
- php: Pretty much the same as what was happening with mysqld, I'd expect this CPU load to be included in the apps that are running heavy PHP scripts.
What would be really cool, but I can imagine this to be too much work (maybe an idea for a separate app or something), would be the ability to enable some kind of debug mode to get more details on CPU usage, e.g. recent queries, recent file reads/writes, details on processes etc.
I hope this request makes sense Thanks!
- mysqld: After enabling
-
Hi @girish that's understandable, profiling is beyond what Cloudron is meant to do. However it would be useful if the charts would be more accurate.
Imagine this usecase: You have an install with 10 apps. Suddenly there's a lot of incoming traffic on one of these apps, slowing the entire machine down. If this happens, at least you'd want to be able to quickly identify the app which should be stopped.
Anyways, it's understandable that this doesn't get much priority given the amazing popularity on this thread