Getting memory and using processor in Google Cloud Compute

How can I allow access to CPU usage and memory usage of all instances in this project in Google Cloud Compute

I cannot find anything regarding the same in the documentation.

+14
source share
4 answers

You can use Google Cloud Monitoring to view some usage metrics for your systems, and the Google Cloud Monitoring agent to get more accurate metrics such as memory. See the GCP metrics documentation for a list of all available calculation metrics.

+11
source

To use memory in Debian:

free -m 

in the console.

+5
source

Information about your processor, memory, network, disk inputs and outputs from your instance group in Google packdriver. Stackdriver comes with a separate subscription. You can add charts to monitor your GCP infrastructure in one panel with one / several.

You can see detailed information. In - How to track GCP infrastructure with stackdriver visualization

+2
source

If you are using Linux, you can install gnome-system-monitor and ssh -X on the system and start it.

For Ubuntu on GCP: "apt-get install gnome-system-monitor dbus"

From another Linux machine (or if you have cygwin / x installed on windows), simply "ssh -X {remote ip}" Then enter gnome-system-monitor and it will start on your desktop.

You can also configure vncserver on a cloud platform.

0
source

Source: https://habr.com/ru/post/989616/


All Articles