File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
mamonsu/plugins/system/linux Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ class Scripts(object):
72
72
""" ,
73
73
74
74
'disk_stats' :
75
- """#!/usr/ bin/env ksh
75
+ """#!/bin/bash
76
76
IFS_DEFAULT="${IFS}"
77
77
#
78
78
#################################################################################
@@ -147,7 +147,7 @@ class Scripts(object):
147
147
""" ,
148
148
149
149
'disk_stats_read_op' :
150
- """#!/usr/ bin/env ksh
150
+ """#!/bin/bash
151
151
rval=`cat /proc/diskstats`
152
152
153
153
count=1
@@ -186,7 +186,7 @@ class Scripts(object):
186
186
""" ,
187
187
188
188
'disk_stats_read_b' :
189
- """#!/usr/ bin/env ksh
189
+ """#!/bin/bash
190
190
rval=`cat /proc/diskstats`
191
191
192
192
count=1
@@ -221,7 +221,7 @@ class Scripts(object):
221
221
""" ,
222
222
223
223
'disk_stats_write_op' :
224
- """#!/usr/ bin/env ksh
224
+ """#!/bin/bash
225
225
rval=`cat /proc/diskstats`
226
226
227
227
count=1
@@ -261,7 +261,7 @@ class Scripts(object):
261
261
""" ,
262
262
263
263
'disk_stats_write_b' :
264
- """#!/usr/ bin/env ksh
264
+ """#!/bin/bash
265
265
rval=`cat /proc/diskstats`
266
266
267
267
count=1
@@ -296,7 +296,7 @@ class Scripts(object):
296
296
echo $(($value*512))
297
297
""" ,
298
298
'net' :
299
- """#!/usr/ bin/env ksh
299
+ """#!/bin/bash
300
300
301
301
302
302
#################################################################################
@@ -347,7 +347,7 @@ class Scripts(object):
347
347
""" ,
348
348
349
349
'disk_stats_ticks' :
350
- """#!/usr/ bin/env ksh
350
+ """#!/bin/bash
351
351
rval=`cat /proc/diskstats`
352
352
353
353
count=1
You can’t perform that action at this time.
0 commit comments