allright , these commands are poorly but the request is for shell script..
we can use the lynx or wget or other tools for pure shell env..
however did you mean "geoiplookup" ?
if it is that , as far as I know , geoiplookup return only Country ?
maybe we can use this int the shell enviroment
regards
ygemici
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)
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)
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)
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)
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)
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)
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)
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)
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)
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 DEBIAN
geoipupdate
GEOIPUPDATE(1) General Commands Manual GEOIPUPDATE(1)NAME
geoipupdate - a program for updating the MaxMind GeoIP databases
SYNOPSIS
geoipupdate [-v] [-f licensefile]
DESCRIPTION
geoipupdate automatically updates the GeoIP database for GeoIP subscribers. It connects to the MaxMind GeoIP Update server and checks for
an updated database. If it finds an updated database, then it downloads it, uncompresses it, and installs it. If you are running a fire-
wall, it requires that the DNS and HTTP (80) ports be open.
For example
geoipupdate -v
Performs the update in verbose mode.
OPTIONS -v Verbose mode, prints out the steps that geoipupdate takes.
-d Specify a custom directory target to install the GeoIP datafile(s). By default geoipupdate installs to /usr/share/GeoIP
-f Specifies the configuration file that contains the license key. Defaults to /etc/GeoIP.conf
USAGE
Typically you'll want to write a weekly crontab that will run geoipupdate. Below is a sample crontab that runs geoipupdate on each Wednes-
day at noon:
# top of crontab
MAILTO=your@email.com
0 12 * * 3 BIN_DIR/geoipupdate
# end of crontab
To use with a proxy server, set the http_proxy environment variable. E.g.
export http_proxy="http://proxy-hostname:port"
RETURN CODES
geoipupdate returns 0 on success, 1 on error.
FILES
/etc/GeoIP.conf
Configuration file for GeoIP, should contain license key.
AUTHOR
Written by T.J. Mather
REPORTING BUGS
Report bugs to <support@maxmind.com>
COPYRIGHT
Copyright (C) 2011 MaxMind LLC
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
Visit <http://www.maxmind.com/app/products> to sign up for a GeoIP subscription.
geoiplookup(1), crontab(5)4th Berkeley Distribution 5 Oct 2010 GEOIPUPDATE(1)