Skip to content

Commit 3c7830e

Browse files
authored
update Superuser requirement to false for telemetry scripts (#615)
* update Superuser requirement to false for telemetry scripts Signed-off-by: Harper, Jason M <jason.m.harper@intel.com> * turbostat and processwatch require sudo Signed-off-by: Harper, Jason M <jason.m.harper@intel.com> --------- Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
1 parent 1dc3a16 commit 3c7830e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/script/scripts.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ if [ $duration -ne 0 ] && [ $interval -ne 0 ]; then
12751275
fi
12761276
LC_TIME=C mpstat -u -T -I SCPU -P ALL $interval $count
12771277
`,
1278-
Superuser: true,
1278+
Superuser: false,
12791279
Lkms: []string{},
12801280
Depends: []string{"mpstat"},
12811281
},
@@ -1288,7 +1288,7 @@ if [ $duration -ne 0 ] && [ $interval -ne 0 ]; then
12881288
fi
12891289
S_TIME_FORMAT=ISO iostat -d -t $interval $count | sed '/^loop/d'
12901290
`,
1291-
Superuser: true,
1291+
Superuser: false,
12921292
Lkms: []string{},
12931293
Depends: []string{"iostat"},
12941294
},
@@ -1301,7 +1301,7 @@ if [ $duration -ne 0 ] && [ $interval -ne 0 ]; then
13011301
fi
13021302
LC_TIME=C sar -r $interval $count
13031303
`,
1304-
Superuser: true,
1304+
Superuser: false,
13051305
Lkms: []string{},
13061306
Depends: []string{"sar", "sadc"},
13071307
},
@@ -1314,7 +1314,7 @@ if [ $duration -ne 0 ] && [ $interval -ne 0 ]; then
13141314
fi
13151315
LC_TIME=C sar -n DEV $interval $count
13161316
`,
1317-
Superuser: true,
1317+
Superuser: false,
13181318
Lkms: []string{},
13191319
Depends: []string{"sar", "sadc"},
13201320
},

0 commit comments

Comments
 (0)