Projet

Général

Profil

Révision c53197ce

IDc53197ce5a01eec368ff56c553456dcd6f57ab87
Parent 10b1de81
Enfant 04e9d5bf

Ajouté par Nuno Fachada il y a environ 12 ans

Improve GPU plugins documentation

Voir les différences:

plugins/gpu/amd_gpu_
27 27

  
28 28
=head2 DEFAULT CONFIGURATION
29 29

  
30
The default configuration is to set "env.aticonfexec" to /usr/bin/aticonfig.
30
The default configuration is to set "env.aticonfexec" to /usr/bin/aticonfig and
31
assume warning and critical temperatures of 75 and 95 degrees celsius, respectively.
31 32

  
32 33
=head2 EXAMPLE WILDCARD USAGE
33 34

  
......
35 36

  
36 37
...will monitor the temperature of available AMD GPUs.
37 38

  
39
=head1 TODO
40

  
41
=over 4
42

  
43
=item *
44

  
45
Use multigraphs for multiple GPUs (http://munin-monitoring.org/wiki/MultigraphSampleOutput).
46

  
47
=back
48

  
38 49
=head1 AUTHOR
39 50

  
40 51
Nuno Fachada
......
85 96

  
86 97
nGpus=`echo "$nGpusOutput" | wc -l`
87 98
nGpus=$((nGpus - 2)) # Last two lines don't matter
88
# FIXME Possible bug in code bellow: maybe should be <= 0 instead of == 0?
89 99
if [ $nGpus -eq 0 ]; then
90 100
	# Exit if no GPUs found
91 101
	echo "No AMD GPUs detected. Exiting."
......
233 243
	: $(( nGpusCounter = $nGpusCounter + 1 ))
234 244
done
235 245

  
236
# TODO Follow multigraph suggestion from Flameeyes to look into multigraph plugins http://munin-monitoring.org/wiki/MultigraphSampleOutput, in order to reduce the amount of round trips to get the data.
237

  
238

  
239

  
240 246

  

Formats disponibles : Unified diff