Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is this homework? Please note the LQ rule concerning homework. I repeat it here for your convenience.
Quote:
Do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and searches) and we'll do our best to help. Keep in mind that your instructor might also be an LQ member.
Have you tried the command
Code:
man ping
on a terminal? That may help you get some answers for your assignment.
jdk
Is this homework? Please note the LQ rule concerning homework. I repeat it here for your convenience.
Have you tried the command
Code:
man ping
on a terminal? That may help you get some answers for your assignment.
jdk
No. Its just for my knowledge. I want to know whether i can do more with ping command or not & if there is any other tool or command for the same, i would like to know that too.
# Yes i already tried man ping .. but there is no options to perform reordering or limit bandwidth
No. Its just for my knowledge. I want to know whether i can do more with ping command or not & if there is any other tool or command for the same, i would like to know that too.
# Yes i already tried man ping .. but there is no options to perform reordering or limit bandwidth
I don't understand what you're looking for. For example you can do this with your ping command:
Quote:
-s packetsize
Specifies the number of data bytes to be sent. The default is 56, which translates
into 64 ICMP data bytes when combined with the 8 bytes of ICMP header data.
There are many other things you can do listed in the man entry.
So that answers your question, correct?
jdk
I don't understand what you're looking for. For example you can do this with your ping command:
There are many other things you can do listed in the man entry.
So that answers your question, correct?
jdk
What iam asking is while sending packets from 1 PC to another, can we limit the bandwidth ?
& for reordering , suppose i want to send 4 packets 1,2,3,4. can i change the order in which they received by 2nd PC ?
ping is originally used to measure the line, and there was no reason to restrict it. So ping itself is not able to limit bandwidth and also cannot handle reordering. I think you need to find another tool (or implement something) for that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.