Projet

Général

Profil

Révision 17f78427

ID17f784270ae966ee9a13e9f5104a5b8f925b639e
Parent ef851f0c
Enfant d4320aea, 5b2396a9

Ajouté par Lars Kruse il y a plus de 7 ans

Whitespace cleanup

  • remove trailing whitespace
  • remove empty lines at the end of files

Voir les différences:

plugins/gpu/nvidia_gpu_
10 10

  
11 11
=head1 CONFIGURATION
12 12

  
13
This is a wildcard plugin. The wildcard prefix link name should be the 
13
This is a wildcard plugin. The wildcard prefix link name should be the
14 14
value to monitor.
15 15

  
16 16
This plugin uses the following configuration variables:
......
53 53
=head1 LICENSE
54 54

  
55 55
 GNU General Public License, version 2
56
 http://www.gnu.org/licenses/gpl-2.0.html 
56
 http://www.gnu.org/licenses/gpl-2.0.html
57 57

  
58 58
=head1 MAGIC MARKERS
59 59

  
......
70 70

  
71 71
# Check if autoconf was requested
72 72
if [ "$1" = "autoconf" ]; then
73
	# Autoconf only returns yes if nvidia-smi exists and is executable 
73
	# Autoconf only returns yes if nvidia-smi exists and is executable
74 74
	if [ -x "$nvSmiExec" ]; then
75 75
		echo yes
76 76
		exit 0
......
188 188
				gpuName=$(echo "$nGpusOutput" | sed -n $((nGpusCounter+1))p | cut -d \( -f 1)
189 189
				echo "${name}${nGpusCounter}.info GPU utilization information for $gpuName"
190 190
				: $((nGpusCounter=nGpusCounter+1))
191
				done 
191
				done
192 192
			;;
193 193
		*)
194 194
			echo "Can't run without a proper symlink. Exiting."

Formats disponibles : Unified diff