[asterisk-users] Calls Dropping
matthieu Nicaise
technique at thinkrosystem.com
Sun May 2 09:04:32 CDT 2010
Hi,
try using screen :
http://www.rackaid.com/resources/linux-screen-tutorial-and-how-to/
I think it's the best way of doing this.
Regards,
Matthieu NICAISE
Responsable technique
GSM : 06 72 19 09 55
technique at thinkrosystem.com
------------------------------------------------------------------------
Thinkro System
http://www.thinkrosystem.com/
Le 2 mai 10 à 15:52, Dan Journo a écrit :
> Hi Bob,
>
> Thanks for that. Is there any way I can make the task run in the
> background and free up the console? Also so that I can disconnect my
> ssh session without losing the task.
>
> Thanks
> Dan
>
>
> Sent from my Windows Mobile® phone.
>
> -----Original Message-----
> From: Bob Smither <Smither at C-C-I.com>
> Sent: 02 May 2010 14:04
> To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com
> >
> Subject: Re: [asterisk-users] Calls Dropping
>
>
> On Sun, 2010-05-02 at 08:34 -0400, Dan Journo wrote:
>
> <snip>
>
>
>> How can i log a continuous ping test to a file and include the date
>> and time of each ping?
>
> Try this:
>
> #!/bin/sh
> for (( ; ; ))
> do
> NOW=$(date +"%T %m/%d/%Y")
> PING=$(ping -qc 1 example.com)
> echo $NOW: $PING >> pinger.log
> done
> exit 0
>
> You can then monitor the log file using:
>
> $ tail -f pinger.log
>
> You will need to use ^C to kill the script.
>
> Hope this helps.
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100502/95b1de1a/attachment.htm
More information about the asterisk-users
mailing list