8 lines
187 B
Bash
Executable File
8 lines
187 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# rrd_update(os.path.join(SUBFOLDER, 'load.rrd'), 'N:{0}:{1}:{2}'.f
|
|
|
|
IFS=' ' read -r -a 'HH' <<< "$(cat /proc/loadavg)"
|
|
rrdtool update load.rrd N:${HH[0]}:${HH[1]}:${HH[2]}
|
|
|