![](/img/trans.png)
[英]Google Cloud Platform: how to monitor memory usage of VM instances
[英]How can I monitor memory usage of container vm running on GCE
您可以在創建實例時啟用監控:
gcloud compute instances create instance-name \
--image-family cos-stable \
--image-project cos-cloud \
--metadata=google-monitoring-enabled=true
您還可以對現有實例啟用監控:
gcloud compute instances add-metadata instance-name \
--metadata=google-monitoring-enabled=true
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.