Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Save the Children

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 139 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here



     bing [-dDnrRPvVwz] [-c count] [-e samples] [-i wait] [-p pattern]
          [-s small packetsize] [-S big packetsize] host1 host2


     Bing determines bandwidth on a point-to-point link by sending ICMP
     ECHO_REQUEST packets and measuring their roundtrip times for different
     packet sizes on each end of the link.

     host1 is supposed to be the nearest end of the link, while host2 is the
     other end.

     The options are as follows:

     -c count
             Stop after count resets of the stats. Useful only in conjunction
             with the -e option. Defaults to 1.

     -d      Set the SO_DEBUG option on the socket being used.

     -D      Display the measured throughput at every received packet.  By
             default, it is displayed only when the computed value changes,
             which itself changes only when the minimum roundtrip time for one
             of the packet sizes changes.

     -e samples
             Reset stats after sending samples ECHO_REQUEST packets.

     -i wait
             Wait wait seconds for each ECHO_REPLY packet.  The default is to
             wait for four seconds.

     -n      Numeric output only.  No attempt will be made to lookup symbolic
             names for host addresses.

     -P      Be pedantic regarding round-trip times.

             Normally, bing assumes that the roundtrip time for a small packet
             should always be smaller than the roundtrip time for a big packet
             to the same host, that for a given size the roundtrip time for
             host1 should always be smaller than the roundtrip time for host2,
             and that the increase in the roundtrip time between host1 and
             host2 should always be bigger for big packets than for small

             Bing takes advantage of this to better determine the minimum
             roundtrip times.

             Option -P disables this behaviour, in the unlikely event it could
             be of any use someday. Even IP/X25 links are not weird enough to
             require this, though.

     -p pattern
             (e.g., after the interface was dropped by routed(8) ).

     -s packetsize
             Specifies the number of data bytes to be sent in the small pack­
             ets.  The default and minimum value is 8.

     -S packetsize
             Specifies the number of data bytes to be sent in the big packets.
             The default is 108.  The size should be chosen so that big packet
             roundtrip times are long enough to be accurately measured
             (depending on clock resolution and number of hops).

     -v      Verbose output.  ICMP packets other than ECHO_RESPONSE that are
             received are listed.

     -V      Very verbose output.  The roundtrip time of each received echo is

     -w      Display possible warnings about roundtrip times all the time.  By
             default, warnings are printed only at the end.

     -z      Fill packets with uncompressible (pseudo-random) data.

     Round-trip times and packet loss statistics are computed.  If duplicate
     packets are received, they are not included in the packet loss calcula­
     tion, although the round trip time of these packets is used in calculat­
     ing the minimum/average/maximum round-trip time numbers.  When the speci­
     fied number of loops have been made or if the program is terminated with
     a SIGINT, a brief summary is displayed.

     This program is intended for use in network testing, measurement and man­
     agement.  Because of the load it can impose on the network, it is unwise
     to use bing during normal operations or from automated scripts.


     Many Hosts and Gateways ignore the RECORD_ROUTE option.

     The maximum IP header length is too small for options like RECORD_ROUTE
     to be completely useful.  There's not much that that can be done about
     this, however.

     Some of the final stats (average throughputs) almost never give a even
     marginally correct result.


     netstat(1), ifconfig(8), ping(8), routed(8), traceroute(8)


     Pierre Beyssac <pb@fasterix.freenix.fr>

BSD                              April 3, 1995                             BSD

An undefined database error occurred. SELECT distinct pages.pagepath,pages.pageid FROM pages, page2command WHERE pages.pageid = page2command.pageid AND commandid =

Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.10 Seconds