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:43, 29 September 2020
, 29 September 2020no edit summary
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
do | do | ||
date > /tmp/regfile #where data will be stored | date > /tmp/regfile #where data will be stored | ||
df {{!}} awk 'NR==3 {print $3}' >> /tmp/regfile | |||
df {{!}} awk 'NR==4 {print $3}' >> /tmp/regfile | |||
sleep 5 | sleep 5 | ||
done | done | ||
Line 49: | Line 49: | ||
do | do | ||
date > /tmp/regfile #where data will be stored | date > /tmp/regfile #where data will be stored | ||
gsmctl -X >> /tmp/regfile | |||
gsmctl -E >> /tmp/regfile | |||
sleep 5 | sleep 5 | ||
done | done |