Got it

Check the camera for packet loss

Latest reply: Jun 30, 2018 21:49:40 467 1 1 0 0

Hi, all!

Have a nice day to you!

This topic describes how to check the camera for packet loss.


1. Deploy script on VCN platform

#!/bin/bash
 while [ true ]; do
  ping  3.4.60.47 -c 1 | awk '{print $0"\t" strftime("%Y-%B-%d %H:%M:%S",systime())}'  >> /opt/ping.log
  sleep 1
 done



2. Steps:

Step1:Change the IP address of script ping.sh to the error camera IP.

Step2:   Update ping.sh to the server /root/

Step3:   Input command:  chmod +x /root/ping.sh

Step4:   Running the scrip,  input command: nohup  /root/ping.sh &

Step5:   When the problem happened, script will record result to /opt/ping.log

Step6: Stop the  scrip input command: PID=$(ps -ef|grep ping.sh | grep -v grep | awk '{print $2}') kill -9 $PID


Thanks!

easy steps , Thank you
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.