blob: 413fc727f9703a6de3d956605f6f6e39b255e0c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
. "`dirname \"$0\"`"/datastore-functions.sh
put_value_sensor_now \
"`hostname`.load1" \
"`cat /proc/loadavg | cut -d ' ' -f 1`"
put_value_sensor_now \
"`hostname`.load5" \
"`cat /proc/loadavg | cut -d ' ' -f 2`"
put_value_sensor_now \
"`hostname`.load15" \
"`cat /proc/loadavg | cut -d ' ' -f 3`"
|