10-06-2003
Thanks mrhyde,
I have been waiting for a reply to this for a while. Couldn't find anything solid on goolge about it. I'll try that today. Weather here isn't too good now - getting cold. At least it's not raining though. Thanks again.
10 More Discussions You Might Find Interesting
1. IP Networking
how i can send the big icmp packets to the another ip for loose connection ....or how he can loose (1 Reply)
Discussion started by: seccom
1 Replies
2. UNIX for Advanced & Expert Users
Hello! I'm in extra urgent need to have a program that sends a series of ICMP echo requests over the network to a specified host and waits until the last echo reply is received.
I know little about socket-programming (in particular I've never dealt with icmp sockets) that's why i'm desperate!! :)... (5 Replies)
Discussion started by: ilmora
5 Replies
3. UNIX Desktop Questions & Answers
I'm not sure if this is the right forum (if there's a better forum elsewhere, then I would be grateful for any pointers), but anyway: I am using Firefox 2.0.0.14 on Ubuntu 7.10 for day-to-day graphical webbrowsing. I sometimes find that some websites take a long time to answer certain requests... (7 Replies)
Discussion started by: ropers
7 Replies
4. IP Networking
Hi All,
How to disable ICMP time stamp request and time stamp reply of a machine?
How to test this feature from remote machine?
Please reply back
Vasanth (2 Replies)
Discussion started by: vasanthan
2 Replies
5. Solaris
Hi all,
I cannot reach my SERVER from my NetBackup server connect through SERVER_prv ("cannot connect to client")
My SERVER was Sun OS 5.8, below is the message i get when i ping my SERVER:
# ping 192.168.X.X or
# ping SERVER_prv
ICMP Net Unreachable from gateway 172.16.102.XXX
for... (3 Replies)
Discussion started by: beginningDBA
3 Replies
6. UNIX for Dummies Questions & Answers
I'm not a unix expert so I need to ask what maybe a simple question to some. Is there a log file which records any icmp packets hitting the server? I ask, because I need to verify what the ip is from a server pinging mine. (3 Replies)
Discussion started by: numele
3 Replies
7. Shell Programming and Scripting
Hi,
I am using following command:
tcpdump -i eth1 icmp =8 >output.txt
i want this command to get execute for a minute only. How can we do this?
Thanks.
Please use code tags next time for your code and data. Thanks (2 Replies)
Discussion started by: Satyajeet@uh
2 Replies
8. Shell Programming and Scripting
Hi Friends,
I have the following logfile. Currently time in india is 07/31/2014 12:33:34 and i have the following content in logfile. I want to display only those entries which contain string 'Exception' within last 3 hours. In this case, it would be the last line only
I can get the... (12 Replies)
Discussion started by: srkmish
12 Replies
9. IP Networking
I have an application where I need to configure a router to pass through ping requests (ICMP type http://www.dd-wrt.com/phpBB2/images/smiles/icon_cool.gif through to the LAN port. I have a Linksys WRT54GS with tiny DD-WRT V24 SP2 installed. I am adding the following iptables rules:
iptables -t... (0 Replies)
Discussion started by: dschlic1
0 Replies
10. IP Networking
Hi, I am relatively new to firewalls and netfilter. I have a Debian Stretch router box running dnsmasq, connected to a VPN. Occasionally dnsmasq polls all of the desired DNS servers to select the fastest. When it does this it responds to replies of the non-selected DNS servers with a icmp type... (0 Replies)
Discussion started by: CrazyDave
0 Replies
LEARN ABOUT DEBIAN
weather::com::wind
Weather::Com::Wind(3pm) User Contributed Perl Documentation Weather::Com::Wind(3pm)
NAME
Weather::Com::Wind - class containing wind data
SYNOPSIS
#!/usr/bin/perl -w
use Weather::Com::Finder;
# you have to fill in your ids from weather.com here
my $PartnerId = 'somepartnerid';
my $LicenseKey = 'mylicense';
my %weatherargs = (
'partner_id' => $PartnerId,
'license' => $LicenseKey,
'language' => 'de',
);
my $weather_finder = Weather::Com::Finder->new(%weatherargs);
my @locations = $weather_finder->find('Heidelberg');
my $currconditions = $locations[0]->current_conditions();
print "Wind comes from ", $currconditions->wind()->direction_long(), "
";
print "and its speed is", $currconditions->wind()->speed(), "
";
DESCRIPTION
Via Weather::Com::Wind one can access speed and direction (in degrees, short and long textual description) of the wind. Wind is usually an
object belonging to current conditions or to a forecast (not implemented yet).
This class will not be updated automatically with each call to one of its methods. You need to call the "wind()" method of the parent
object again to update your object.
CONSTRUCTOR
You usually would not construct an object of this class yourself. This is implicitely done when you call the "wind()" method of one cur-
rent conditions or forecast object.
METHODS
speed()
Returns the wind speed.
direction_degrees()
Returns the direction of the wind in degrees.
direction_short([$language])
Returns the direction of the wind as wind mnemonic (N, NW, E, etc.).
These directions are being translated if you specified a language in the parameters you provided to your Weather::Com::Finder.
This attribute is dynamic language enabled.
direction_long([$language])
Returns the direction of the wind as long textual description (North, East, Southwest, etc.).
These directions are being translated if you specified a language in the parameters you provided to your Weather::Com::Finder.
This attribute is dynamic language enabled.
AUTHOR
Thomas Schnuecker, <thomas@schnuecker.de>
COPYRIGHT AND LICENSE
Copyright (C) 2004-2007 by Thomas Schnuecker
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The data provided by weather.com and made accessible by this OO interface can be used for free under special terms. Please have a look at
the application programming guide of weather.com (<http://www.weather.com/services/xmloap.html>)!
perl v5.8.8 2007-07-09 Weather::Com::Wind(3pm)