Does Mongodb collect CPU usage?

Hi.

I learned db.serverStatus() gives me a lot of info like network, lock, disk and memory stuff.

But I can’t find cpu usage info.
Does MongoDB gathers cpu usage? Or How can gather cpu usage querying to MongoDB.

Are you using Atlas? This doc suggests CPU metrics can be extracted via the real time performance panel. https://www.mongodb.com/docs/atlas/real-time-performance-panel/
It does however stipulate ( Only available on M10+ clusters)

1 Like

No I am not using atlas. Thanks by the way!