Template:Networking rut2 9 modbus custom register block: Difference between revisions
Template:Networking rut2 9 modbus custom register block (view source)
Revision as of 10:53, 29 September 2020
, 29 September 2020no edit summary
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
do | do | ||
date > /tmp/regfile #where data will be stored | date > /tmp/regfile #where data will be stored | ||
df | df | awk 'NR==3 {print $3}' >> /tmp/regfile | ||
df | df | awk 'NR==4 {print $3}' >> /tmp/regfile | ||
sleep 5 | sleep 5 | ||
done | done | ||
Line 43: | Line 43: | ||
do | do | ||
date > /tmp/regfile #where data will be stored | date > /tmp/regfile #where data will be stored | ||
df | df | awk 'NR==3 {print $3}' >> /tmp/regfile | ||
df | df | awk 'NR==4 {print $3}' >> /tmp/regfile | ||
sleep 5 | sleep 5 | ||
done | done |