Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gpuhw
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Odysseus
gpuhw
Commits
6c7a739f
Commit
6c7a739f
authored
May 31, 2024
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to monitor-smi:v.0.0.9
parent
a1656626
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
docker-compose-smi.yml
docker-compose-smi.yml
+1
-1
dockerfile-smi
dockerfile-smi
+2
-1
prometheus.yml
prometheus.yml
+2
-2
supervisord-smi.conf
supervisord-smi.conf
+1
-1
No files found.
docker-compose-smi.yml
View file @
6c7a739f
...
...
@@ -2,7 +2,7 @@ version: "3.9"
services
:
monitorSmi
:
image
:
docker.ai.17xuexi.com/monitorapi/monitor-smi:v.0.0.
8
image
:
docker.ai.17xuexi.com/monitorapi/monitor-smi:v.0.0.
9
network_mode
:
host
volumes
:
-
/proc:/host/proc:ro
...
...
dockerfile-smi
View file @
6c7a739f
...
...
@@ -15,4 +15,5 @@ COPY ./test/prometheus /usr/local/bin/prometheus
COPY ./prometheus.yml /prometheus/prometheus.yml
# ENTRYPOINT ["/usr/bin/gpuhw-smi"]
ENTRYPOINT ["/usr/bin/supervisord"]
\ No newline at end of file
ENTRYPOINT ["/usr/bin/supervisord"]
prometheus.yml
View file @
6c7a739f
global
:
scrape_interval
:
300m
s
evaluation_interval
:
300m
s
scrape_interval
:
1
s
evaluation_interval
:
1
s
scrape_configs
:
-
job_name
:
prometheus
...
...
supervisord-smi.conf
View file @
6c7a739f
...
...
@@ -20,7 +20,7 @@ redirect_stderr=true
[
program
:
gpuhw
-
smi
]
command
=
sh
-
c
'usr/bin/gpuhw-smi'
command
=
sh
-
c
'
/
usr/bin/gpuhw-smi'
stdout_logfile
=/
dev
/
fd
/
1
stdout_logfile_maxbytes
=
0
redirect_stderr
=
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment