Finding MongoDB CPU usage,Disk Utilization , RAM using Query /Command

How to get the status of CPU usage and Disk utilisation through query/command for the cluster running on MongoDB Atlas.

I just want to make sure that CPU & Disk utilisation are under threshold before hitting Query/Command.