The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Return a status for ping
2014-10-12, 12:22
Post: #1
Return a status for ping
I want tested uplink down or up with ping command
but it's not possible because the command is a loop

ping ${netX/gateway} && echo Interface UP || echo Interface Down


Is it possible to add a counter or a timer to ping ?
Thank.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Return a status for ping - cyr-ius - 2014-10-12 12:22



User(s) browsing this thread: 1 Guest(s)