 music |
 | � | OSdata.com |
ping
summary
����This subchapter looks at ping, a UNIX (and Linux) command.
����ping is used to test a server connection.
ping
����This subchapter looks at ping, a UNIX (and Linux) command.
����ping is used to test a server connection.
test packets
����ping sends test packets to a specific server to see if the server responds properly.
����Type ping followed by -c count followed by an IP address or domain name.
����ping will continue forever unless halted or you give a specific count limit.
����$ ping -c 5 www.osdata.com
����PING osdata.com (67.18.4.2): 56 data bytes
����64 bytes from 192.168.0.1: icmp_seq=0 ttl=127 time=18.801 ms
����64 bytes from 192.168.0.1: icmp_seq=1 ttl=127 time=9.918 ms
����64 bytes from 192.168.0.1: icmp_seq=2 ttl=127 time=17.216 ms
����64 bytes from 192.168.0.1: icmp_seq=3 ttl=127 time=6.748 ms
����64 bytes from 192.168.0.1: icmp_seq=4 ttl=127 time=30.640 ms
����--- 192.168.0.1 ping statistics ---
����5 packets transmitted, 5 packets received, 0% packet loss
����round-trip min/avg/max/stddev = 6.748/16.665/30.640/8.295 ms
����$
����ping will quickly either return a report or will say destination host unreachable on failure.
measuring
����You can measure the dropped packet rate and the minimum, mean, maximum, and standard deviation of round-trip times.
����When using ping for testing, start by pinging local host to verify that the local network interface is up and running. Then ping hosts and gateways further away.
other
����On November 8, 2010, Ramesh Natarajan named this the number 48 most frequently used UNIX/Linux command at this web page 50 Most Frequently Used UNIX / Linux Commands (With Examples).
����In June 2009, Ken Milberg named this command as one of the Top 50 universal UNIX commands at this web page Top 50 Universal INIX commands. Note that this web page requires agreeing to be spammed before you can read it.
comments, suggestions, corrections, criticisms
free music player coding example
����Coding example: I am making heavily documented and explained open source code for a method to play music for free � almost any song, no subscription fees, no download costs, no advertisements, all completely legal. This is done by building a front-end to YouTube (which checks the copyright permissions for you).
����View music player in action: www.musicinpublic.com/.
����Create your own copy from the original source code/ (presented for learning programming).
Because I no longer have the computer and software to make PDFs, the book is available as an HTML file, which you can convert into a PDF.
����Names and logos of various OSs are trademarks of their respective owners.