Jump to content

Template:Networking rut2 9 modbus custom register block: Difference between revisions

no 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
  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