11-20-2018
4 More Discussions You Might Find Interesting
1. AIX
Trying to build code on IBM_AIX 5.3.
Following error occured during build.
ar: 0707-126 $projdir/obj/ibm/5.3/NewApp/NewApp.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ANy help is appreciated to resolve the error. (2 Replies)
Discussion started by: milindb
2 Replies
2. UNIX for Advanced & Expert Users
Hi All,
I have a small application hosted on apache-tomcat 5. Basically its a html page which in turn calls a perl script residing on unix server. Through this perl script i am calling a shell script using system command , like
system('scriptname.sh',arg1,arg2,arg3);
Now in the script... (5 Replies)
Discussion started by: glamo_2312
5 Replies
3. Shell Programming and Scripting
Hello folks,
I have list of ips like
1.1.1.1
2.2.2.2
3.3.3.3
4.4.4.4
whois 1.1.1.1 |grep -E 'country|Country'
it show country=US or whatever.
so i have number of ips in text file, how i can use above script to automate output like
1.1.1.1 US
2.2.2.2 CA
3.3.3.3 FR (3 Replies)
Discussion started by: learnbash
3 Replies
4. Shell Programming and Scripting
Hi,
We are getting the following error code while connection remote server using sftp command.
sftp user@serrver
Warning: child process (/opt/ssh2/bin/ssh2) exited with code 126.
pls Advise. (2 Replies)
Discussion started by: koti_rama
2 Replies
LEARN ABOUT DEBIAN
ip2host
IP2HOST(1) User Contributed Perl Documentation IP2HOST(1)
NAME
ip2host - Resolves IPs to hostnames in web server logs
SYNOPSIS
ip2host [OPTIONS] [cache_file] < infile > outfile
infile - Web server log file.
outfile - Same as input file, but with IPs resolved to hostnames.
Options:
--children=... Number of child processes to spawn (default: 40)
--timeout=... Seconds to wait on DNS response (default: 20)
--buffer=... Maximum number of log lines to keep in
memory (default: 50000)
--flush=... Number of lines to process before flushing
output buffer (default: 500)
--cache=... Filename to use as disk cache (default: none)
--ttl=... Number of seconds before IPs cached on disk are expired
(default: 604800 - One week)
DESCRIPTION
This is a faster, drop-in replacement for the logresolve utility distributed with the Apache web server.
It's been reported to work under Linux, FreeBSD, Solaris, Tru64, and IRIX.
AUTHOR
Maurice Aubrey <maurice.aubrey+ip2host@gmail.com>
Based on the logresolve.pl script by Rob Hartill.
COPYRIGHT
Copyright 1999-2007, Maurice Aubrey <maurice.aubrey+ip2host@gmail.com>.
This module is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
README
Resolves IPs to hostnames in web server logs. This is a faster, drop-in replacement for the logresolve utility distributed with the Apache
web server.
SCRIPT CATEGORIES
Web
perl v5.14.2 2012-02-15 IP2HOST(1)