本文介绍了了解Google Compute Engine的实例/CPU/利用率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Google Compute Engine的新手,我不了解axis = 0或y上的指标实例/cpu/利用率.我所看到的比例上升到0,15.那意味着CPU使用率只有15%?

I'm new with Google Compute Engine and I don't understand the metric instance/cpu/utilization on axis=0 or y.The scale as I see it goes up to 0,15. That means the CPU usage is only 15%?

我的实例有24个CPU,因为我试图运行一个很大的pandas groupby().mean(),而且这花了很多时间.这是Jupyter笔记本.我是否应该运行额外的代码以使整个实例正常工作?如果实例无法完全运行,也许我为该实例付出了太多.

My instance has 24 CPUs because I'm trying to run a really big pandas groupby().mean() and it's taking forever.It's a Jupyter notebook. Should I run extra code to make the whole instance to work?Maybe I'm paying too much for the instance if it wont run fully.

我原本希望满负荷运行

推荐答案

通过在GCP控制台上单击实例名称,然后单击监视"选项卡,您将可以看到%的CPU使用率.

By clicking on the Instance name on GCP Console and then clicking on the tab "Monitoring" you will be able to see the CPU usage on %.

无论如何,如果您使用的是Google Cloud Platform,我强烈建议您使用Stackdriver Monitoring [1]功能,该功能非常好(还与AWS兼容),如果您还能够安装代理[2],则将获得一个很多指标,这些指标以后可能会有用.

Anyway If you are using Google Cloud Platform I strongly recommend you use the Stackdriver Monitoring [1] feature which is very nice (also compatible with AWS), if you also are able to install the agent [2] you will get a lot of metrics which can be useful later.

[1] https://cloud.google.com/monitoring/docs/

[2] https://cloud.google.com/monitoring/agent/安装代理

这篇关于了解Google Compute Engine的实例/CPU/利用率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 06:03