command
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Dec 16, 2019
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
gcp-gpu-stackdriver-reporting
This repository provides a tool that sends metrics on GPU utilization on Google Compute Engine (GCE) to Stackdriver.
This tools is able to supports Linux only.
Installation
go get
$ go get github.com/ohsawa0515/gcp-gpu-stackdriver-reporting
$ cd gcp-gpu-stackdriver-reporting
$ go build
Run as systemd
$ mv gcp-gpu-stackdriver-reporting /usr/local/bin/
$ chmod +x /usr/local/bin/gcp-gpu-stackdriver-reporting
$ cat <<-EOH > /lib/systemd/system/gcp-gpu-stackdriver-reporting.service
[Unit]
Description=GPU Utilization Metric Reporting
[Service]
Type=simple
PIDFile=/run/gcp-gpu-stackdriver-reporting.pid
ExecStart=/usr/local/bin/gcp-gpu-stackdriver-reporting
User=root
Group=root
WorkingDirectory=/
Restart=always
[Install]
WantedBy=multi-user.target
EOH
$ systemctl daemon-reload
$ systemctl enable gcp-gpu-stackdriver-reporting.service
$ systemctl start gcp-gpu-stackdriver-reporting.service
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.