LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-02-2008, 02:16 AM   #1
jkeertir
Member
 
Registered: Mar 2008
Posts: 75

Rep: Reputation: 15
trace route a server


Dear ALL,

Can anyone tell me a command which can show me the whole path of server without all parameters that i get using after running traceroute command.I want output as

212.111.222.44 aaa.hmite-ip.nnn.net

where 212.111.222.44 is ip address of server.

and aaa.hmite-ip.nnn.net is domain name.

With regards,
Keerti
 
Old 04-02-2008, 06:22 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you want a command that does a traceroute, just like traceroute does...? how about traceroute??? if it's output isn;t what you exactly want i'm sure a bit of sed, grep and awk will sort it out just right.
 
Old 04-02-2008, 06:45 AM   #3
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
or tr

$ traceroute blah.moo-u.edu | awk '{ print $3 " " $2 }' | tr -d "()"

seems to do the trick
 
Old 04-02-2008, 07:03 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
If all you want is the ip, it might be shorter to just use ping.
 
Old 04-02-2008, 08:33 PM   #5
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
I think he wants all the connections along the way ("show me the whole path"), that's why he was messing with traceroute in the first place.
 
Old 04-02-2008, 11:06 PM   #6
jkeertir
Member
 
Registered: Mar 2008
Posts: 75

Original Poster
Rep: Reputation: 15
Dear sir,

yes, I want to trace the whole route of the server.I can only provide ipaddress of the server.

With Regards,
Keerti
 
Old 04-03-2008, 12:56 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well still, traceroute is still the right tool...
 
Old 04-03-2008, 08:15 PM   #8
BallsOfSteel
Member
 
Registered: Mar 2008
Location: Florida
Distribution: Fedora mainly, but I am open to others.
Posts: 273

Rep: Reputation: 34
Wouldn't it be
Code:
traceroute ip.addy.of.server
?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"killed" Message - how to trace/back trace ebinjose Linux - Kernel 1 01-29-2008 06:12 AM
trace IP sing Proxy server regarding bandwidth shipon_97 Linux - Networking 2 01-20-2008 07:37 AM
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM
linux trace route won't work Red Squirrel Linux - Software 3 03-17-2004 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration