Re: [Lug-bg] ping - как да проверя тотала до момента без да прекъсвам изпълнението?
- Subject: Re: [Lug-bg] ping - как да проверя тотала до момента без да прекъсвам изпълнението?
- From: Peter Pentchev <roam@xxxxxxxxxxx>
- Date: Thu, 16 Dec 2010 10:50:43 +0200
On Thu, Dec 16, 2010 at 10:41:30AM +0200, Yordan Radunchev wrote:
> On Thu, Dec 16, 2010 at 09:05:21AM +0200, Ivan Petrushev wrote:
> > Здравейте,
>
> много грубо, но работи:
>
> ping -q -c5 google.com | tr '\n' ',' | cut -d"," -f6,7,8 >> ping.log
>
> пуска пет пакета и логва "форматиран" резултат в ping.log, изглежда така:
>
> 0% packet loss, time 4020ms,rtt min/avg/max/mdev = 24.660/86.550/209.688/87.072 ms
> 0% packet loss, time 4006ms,rtt min/avg/max/mdev = 24.987/25.265/26.076/0.458 ms
> 0% packet loss, time 4005ms,rtt min/avg/max/mdev = 25.020/33.838/47.888/10.421 ms
>
> ако намериш начин да ти слага и таймстамп...
"ping -D" ?
Поздрави,
Петър
--
Peter Pentchev roam@xxxxxxxx roam@xxxxxxxxxxx roam@xxxxxxxxxxx
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
Do you think anybody has ever had *precisely this thought* before?
Attachment:
signature.asc
Description: Digital signature
_______________________________________________
Lug-bg mailing list
Lug-bg@xxxxxxxxxxxxxxxxxx
http://linux-bulgaria.org/mailman/listinfo/lug-bg
|