Open main menu
Home
Random
Log in
Settings
COMMUNITY
ABOUT
Disclaimers
Teltonika Networks Wiki
Search
Changes
← Older edit
Newer edit →
Template:Networking rut2 9 modbus custom register block
(view source)
Revision as of 11:43, 29 September 2020
No change in size
,
11:43, 29 September 2020
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
−
gsmctl -X
>> /tmp/regfile
+
df {{!}} awk 'NR==3 {print $3}'
>> /tmp/regfile
−
gsmctl -E
>> /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
−
df {{!}} awk 'NR==3 {print $3}'
>> /tmp/regfile
+
gsmctl -X
>> /tmp/regfile
−
df {{!}} awk 'NR==4 {print $3}'
>> /tmp/regfile
+
gsmctl -E
>> /tmp/regfile
sleep 5
sleep 5
done
done
Tomas
Administrators
2,644
edits