Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

traceroute(1) [x11r4 man page]

TRACEROUTE(1)                                                      User Commands                                                     TRACEROUTE(1)

NAME
traceroute - Trace the route to a host SYNOPSIS
traceroute [OPTION...] HOST DESCRIPTION
Print the route packets trace to network host. -f, --first-hop=NUM Set initial hop distance, that is the time-to-live. -g, --gateways=GATES List of gateways for loose source routing. -I, --icmp Use ICMP ECHO as probe. -m, --max-hop=NUM Set maximal hop count (default is 64). -M, --type=METHOD Use METHOD (icmp or udp) for traceroute operations, defaulting to udp. -p, --port=PORT Use destination PORT port (default is 33434). -q, --tries=NUM Send NUM probe packets per hop (default is 3). --resolve-hostnames Resolve hostnames. -t, --tos=NUM Set type of service (TOS) to NUM. -w, --wait=NUM Wait NUM seconds for response (default is 3). -?, --help Give this help list. --usage Give a short usage message. -V, --version Print program version. GNU inetutils 2015-05-15 TRACEROUTE(1)

Check Out this Related Man Page

TRACEROUTE(1)                                                      User Commands                                                     TRACEROUTE(1)

NAME
traceroute - Trace the route to a host SYNOPSIS
traceroute [OPTION...] HOST DESCRIPTION
Print the route packets trace to network host. -f, --first-hop=NUM Set initial hop distance, that is the time-to-live. -g, --gateways=GATES List of gateways for loose source routing. -I, --icmp Use ICMP ECHO as probe. -m, --max-hop=NUM Set maximal hop count (default is 64). -M, --type=METHOD Use METHOD (icmp or udp) for traceroute operations, defaulting to udp. -p, --port=PORT Use destination PORT port (default is 33434). -q, --tries=NUM Send NUM probe packets per hop (default is 3). --resolve-hostnames Resolve hostnames. -t, --tos=NUM Set type of service (TOS) to NUM. -w, --wait=NUM Wait NUM seconds for response (default is 3). -?, --help Give this help list. --usage Give a short usage message. -V, --version Print program version. GNU inetutils 2015-05-15 TRACEROUTE(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

TTL field???

Hi all, I wonder, how I can change Time To Live field for icmp packet in Redhat 7.1, kernel 2.4.2-2? I looked up in /proc/sys/net/ipv4 and did find this field in there. There should be a way to change TTL. If it's in header file, in which one? Thank you all :p (11 Replies)
Discussion started by: solvman
11 Replies

2. UNIX for Dummies Questions & Answers

traceroute output?

I understand the concept of traceroute - can anyone explain the output to me e.g. 39ms 39ms 39ms are these the times for each trip it takes? Assuming each machine is pinged 3 times. and how does the RTT work? Is this the time it takes from one machine to another because it doesn't look like... (6 Replies)
Discussion started by: justine petrie
6 Replies

3. UNIX for Dummies Questions & Answers

usefulness of the traceroute command

i know this is used in tracking down network problems. the problem is how is it helpful?? what should I look for when using traceroute?? i have looked on the internet but the information given isn't quite helpful as it as the same as the one in the man page. the question here is, i have a... (6 Replies)
Discussion started by: TRUEST
6 Replies

4. IP Networking

end-end packet delay?

following is the output from traceroute traceroute 10.1.11.6 traceroute to 10.1.11.6 (10.1.11.6), 30 hops max, 38 byte packets 1 10.129.1.250 (10.129.1.250) 20.618 ms 0.335 ms 0.271 ms 2 192.0.20.1 (192.0.20.1) 0.694 ms 4.660 ms 0.422 ms 3 192.0.40.1 (192.0.40.1) 0.972 ms 1.917 ms 0.873 ms... (4 Replies)
Discussion started by: yogesh_powar
4 Replies

5. Programming

how we can use traceroute

how we can use traceroute in unix c so how we can get the output of traceroute command in c thank u,inadvance sree (3 Replies)
Discussion started by: phani_sree
3 Replies

6. Shell Programming and Scripting

Capturing Unix Traceroute data

Hi guys, I need a way to capture the host on the next-to-last hop in a traceroute output. The last output is the destination but I need to capture the router just before the last hop. I can do this in perl but I'm not so sure about Shell... I'm on AIX 5.3 using ksh any ideas? ... (3 Replies)
Discussion started by: TivoliGUY
3 Replies

7. UNIX for Advanced & Expert Users

traceroute

Hi, Can any one suggest me an add on feature for the traceroute command. Thanks in advance. Regards, Selvi (4 Replies)
Discussion started by: salvi
4 Replies

8. Shell Programming and Scripting

o/p of awk to variable

Hi All, I have the below file: sample.cfg ---------- SYS_TEST TEST1 TEST2 and I have set the blow: NUM=1 I am running the command: awk -v numb=`expr $NUM + 1` '/SYS_TEST/ {print \$numb}' sample.cfg The output is TEST2 as expected. BUt I am unable to assign this output to a... (4 Replies)
Discussion started by: deepakgang
4 Replies

9. Shell Programming and Scripting

:integer expression expected

Hi, echo $i until || do read NUM if && ; then printf "$FBOLD\nInvalid number, please enter valid backup number: $FREG" fi done Getting below error : ./import_location.sh: line 234: [: : integer expression expected ./import_location.sh: line 234: [: :... (5 Replies)
Discussion started by: milink
5 Replies

10. Programming

How to decrease a string number by one in C?

If i have a macro called NUM which is "8" (string) for example How do I make it into say "7", well i just want to lower it by one, also there will never be the case where its "0" and i have to decrease it. there is no guarantee how many digits NUM could have, but will always be an integer. How... (6 Replies)
Discussion started by: omega666
6 Replies

11. Shell Programming and Scripting

Please help on AWK

Please help me. 1)I have a file "test.txt" with below content 1546 2346 8765 2380 2)I have a variable called "NUM". number variable is assigned with 5674 NUM=5674 3) How to subtract the first record with NUM variable? I tried below but its below awk command but its showing 0 as... (3 Replies)
Discussion started by: prince1987
3 Replies

12. Red Hat

traceroute missing hop

Hi, I am having some performance issues with my JBOSS application server and have noticed something strange in my traceroute. Can anyone explain the following output please? # traceroute 196.10.101.51 8080 traceroute to 196.10.101.51 (196.10.101.51), 30 hops max, 8080 byte packets ... (5 Replies)
Discussion started by: Duffs22
5 Replies

13. Solaris

How can I find which NIC is used to talk to a given host (except traceroute)

Hi all, I'm having some trouble identifying what route is being used to talk to a target host. I can figure it out by looking at the routing tables but I want to automate this and don't much feel like scripting the network mask logic when I'd think there'd be a way to have the OS do it for me.... (5 Replies)
Discussion started by: Smiling Dragon
5 Replies

14. Shell Programming and Scripting

perl script to traceroute an IP from windows

I am writing a perl code(windows) to traceroute IP address and to print the output. I had executed the below code which was taken from cpan modules #!C:/perl/bin/perl.exe use Net::Traceroute; $tr = Net::Traceroute->new(host=> "google.com"); if($tr->found) { my $hops = $tr->hops; if($hops... (4 Replies)
Discussion started by: giridhar276
4 Replies

15. Shell Programming and Scripting

sed command

Hi, I have a variable say NUM="9.126.145.110" I need to get the output as 9,126,145,110 I tried with sed command as sed s/\./,/ $NUM But it didnt work Please help..:confused: (6 Replies)
Discussion started by: Priya Amaresh
6 Replies