Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Memory and Cpu Usages in Google Cloud Compute

How is one supposed to access the CPU usages and Memory usages of all the instances in a given project in Google Cloud Compute?

I'm unable to find anything regarding this in the documentation.

like image 373
Viren Avatar asked Jun 23 '15 14:06

Viren


2 Answers

You can use Google Cloud Monitoring to see some usage metrics for your systems, and the Google Cloud Monitoring agent to get more precise metrics like memory. See the GCP metrics documentation for a list of all available compute metrics.

like image 174
Igor Avatar answered Oct 18 '22 20:10

Igor


For memory usage on Debian:

free -m 

in console.

like image 24
Hrvoje Avatar answered Oct 18 '22 20:10

Hrvoje