07-03-2012
Most people use MaxMinds geoip libs for opensource geolocation information.
Quote:
MaxMind offers open source APIs for use with the binary format of the GeoIP databases. The APIs are optimized for speed, memory usage, and database size.
APIs for GeoIP Products
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I like to find out Server Drive/Storage Specifications like Drive Size?
Storage Type: Local or SAN ?
Number of Processors:
Processor Speed:
Memory:
please someone help me out how I can get from command line?
Thanks you in advance (4 Replies)
Discussion started by: thopputhurai
4 Replies
2. Solaris
Hi experts
Is there a command or a way in Solaris to find server details like this:
SUN240R
2 @ 160MHz CPU
1Gb memory
Solaris8
lan0 (16SV LAN) 100FD
lan1 (45CI LAN) 100FD
lan2 (8CON LAN) 10HD
lan3 (38SY LAN) 100HD
Thanks (1 Reply)
Discussion started by: lalelle
1 Replies
3. Solaris
Hello,
I need to get some details from my server like Internal hard disk details for my UNIX (Solaris 9) server like whether OS is mirrored or not, what type of mirror is used. Which hard disk are used for mirror ?
Regards (1 Reply)
Discussion started by: adel8483
1 Replies
4. Shell Programming and Scripting
Hi,
I need a shell script that when run should be able to find the geographical location of the system.
can anyone help me with this?
Thanks,
Sundeep (1 Reply)
Discussion started by: eamani_sun
1 Replies
5. HP-UX
OS: HP-UX
I need the following details from HP-UX server.
I don't have root login, so most of the commands require root privilege
1. No of cpu in the server
2. Total Memory, Free & Used
3. Space used and free space
Any help would be highly appreciated (6 Replies)
Discussion started by: manijash
6 Replies
6. AIX
Hi Guys,
Require your help please to find out the power consumption for IBM P6 series server.
1> What is the maximum power used by one IBM AIX P560 & P570 server in kilo watts (KW).
2> What is the weight of one IBM AIX P560 & P570 servers in KG.
This is urgently required for me to procure... (1 Reply)
Discussion started by: ajilesh
1 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I am trying to figure out how to check SMTP server details on Unix enviornment?
I tried using
echo "hello" | sendmail -v abc@xyz.com
and got following error:
-bash: sendmail: command not found
-bash: echo: write error: Broken pipe
Any help will be much appreciated regarding... (2 Replies)
Discussion started by: palak08
2 Replies
8. Solaris
How can I get the hardware inventory details of the Sun Servers like T5220 running Solaris 10?
I would like to see the following details:
1. Chassis Information - Part Number, Serial Number etc.
2. Slots Present in the chassis
3. Modules/Cards equipped on the slots. Module details like Part... (8 Replies)
Discussion started by: baddy
8 Replies
9. UNIX for Advanced & Expert Users
Hi All,
Where can I find all the NTP server names/ip addresses on Linux/Solaris systems. How can I grep these names/IP address from specific files from a specific OS (Linux/Solaris).
I know on linux /etc/ntp.conf and /etc/ntp/ntp.conf on solaris contains these details. Whether I am right about... (4 Replies)
Discussion started by: sanzee007
4 Replies
10. Shell Programming and Scripting
Does anyone know of any script or packages that allow the calculation of the geographical distance between two points of lat/long from within a bash shell?
I have been searching the web for the past few days and none of the options seem compatible with bash variables... (eg. geodist)
Many... (3 Replies)
Discussion started by: lily-anne
3 Replies
LEARN ABOUT CENTOS
geoiplookup
GEOIPLOOKUP(1) General Commands Manual GEOIPLOOKUP(1)
NAME
geoiplookup - look up country using IP Address or hostname
SYNOPSIS
geoiplookup [-d directory] [-f filename] [-v] <ipaddress|hostname>
DESCRIPTION
geoiplookup uses the GeoIP library and database to find the Country that an IP address or hostname originates from.
For example
geoiplookup 80.60.233.195
will find the Country that 80.60.233.195 originates from, in the following format:
NL, Netherlands
OPTIONS
-f Specify a custom path to a single GeoIP datafile.
-d Specify a custom directory containing GeoIP datafile(s). By default geoiplookup looks in /usr/share/GeoIP
-v Lists the date and build number for the GeoIP datafile(s).
AUTHOR
Written by T.J. Mather
REPORTING BUGS
Report bugs to <support@maxmind.com>
COPYRIGHT
Copyright (C) 2006 MaxMind, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
geoipupdate(1), nslookup(1).
4th Berkeley Distribution 2 Jan 2007 GEOIPLOOKUP(1)