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
Code:
#!C:/perl/bin/perl.exe
use Net::Traceroute;
$tr = Net::Traceroute->new(host=> "google.com");
if($tr->found) {
my $hops = $tr->hops;
if($hops > 1) {
print "Router was " .
$tr->hop_query_host($tr->hops
how to determine if the server is slow or not with traceroute unix command .
Here is the traceroute Out put of a host IP .
Hi,
I am trying to run Perl on Fedora17 ...
This is my perl code...
> #!/usr/bin/perl
> #print "test\n";
I have saved it in Desktop using VI editor and was running using kconsole, perl test1.pl
I am expecting a output, 'test' in my screen...But, nothing appears...
And, when I create a direct text file from Desktop IDE, 'HelloWorld.pl' and run using kconsole, I
My server cannot connect to ANYTHING EXTERNAL via ssh. I also cannot traceroute to any of them. Machines on the same network work fine via SSH and traceroute. This machine is connected to the internet as I can fetch and install packages just fine. I can also SSH to this machine.
Hello,
I'm trying to figure out why this perl command does not work.
I'm using RHEL4 and RHEL5.
A new group of Linux machines are setup recently using 172.16.32.0/24. The existing RHEL machines are running on 172.16.1.0/22 and 172.16.4.0/22.
In my computer,there some websites like www.nus.edu.sg Slashdot and a few others which take forever to load...I have not noticed this problem with another (Windows) computer in the same connection.I tried out a traceroute,just out of curiousity:traceroute nus.edu.sg
traceroute to nus.edu.sg (137.132.21.27), 30 hops max, 60 byte packets
1 117.194.192.1 (117.194.192.1) 21.121 ms 23.665 ms
We have a number of sites that are interconnected via VPN tunnels.
Hi Folks,
I have 2 perl scripts and I need to execute 2nd perl script from the 1st perl script in WINDOWS.
In the 1st perl script that I had, I am calling the 2nd script
main.pl
===========
print "This is my main script\n";
`perl C:\\Users\\sripathg\\Desktop\\scripts\\hi.pl`;
hi.pl ( this script I am calling from the firstperlscript.pl)
====
#!perl -w
print "hii Gir