Sponsored Content
Full Discussion: Reverse lookup and sum also
Top Forums Shell Programming and Scripting Reverse lookup and sum also Post 302497932 by ran123 on Friday 18th of February 2011 12:04:15 PM
Old 02-18-2011
Need little more help

Even if some one has solution for any of point 1,2,3,4 then will be great help.

Is there possible to add two more things to this problem
1. Print the count of "SQL Statement Execute Time" for each 'EventContext"
2. Print the largest "SQL Statement" time in there.
3. At the End of Report print the count of "SQL Statement Execute Time"
4. At the End of Report print the Larget "SQL Statement" time in there.

Sample data in the first post.
 

10 More Discussions You Might Find Interesting

1. IP Networking

reverse lookup for email

when we send email or try to telnet to a site that requires reverse lookup to be enabled the connection is refused. i have the O'Reilly book DNS and Bind and in it are examples of what the reverse zone file should look like. i don't see a line that defines an email server in the example. is... (1 Reply)
Discussion started by: Westy564
1 Replies

2. IP Networking

reverse lookup file problem

I'm trying to create a reverse lookup file. Below are the error messages I get in the messages file, when I start named. Below the error messages is a copy of the reverse lookup file I'm trying to use. I'm using Bind version 8.1.2. Would someone recommend the correct values and if you see any... (2 Replies)
Discussion started by: Westy564
2 Replies

3. IP Networking

reverse lookup again

our server (solaris, bind v 8.1.2) is suppose to be the authoritive or the master and our isp's server is suppose be the secondary. i've created a reverse lookup zone file and added an entry for it in my named.conf file. i've restarted the dns daemon and i don't have any errors in... (1 Reply)
Discussion started by: Westy564
1 Replies

4. UNIX for Dummies Questions & Answers

Unix 8.2 and reverse Lookup

We have Unix configured as our external DNS, forward DNS is working properly, however Reverse lookup is not working. Any idea what the problem is? I have checked the named.boot and .rev file and everything seems to be correctly. However it appears that the reverse zone file in the named.boot... (2 Replies)
Discussion started by: cassy
2 Replies

5. IP Networking

Reverse lookup

Help having problems accesing various sites that require me to be a registered .gov domain. My IP is a registered as an .gov but my nameserver record has changed on my DNS configurartion(I don't know why) from something.gov to somethingelse.gov. Same IP, though. When a reverse lookup is... (1 Reply)
Discussion started by: jpalmer320
1 Replies

6. UNIX for Advanced & Expert Users

Clueless about how to lookup and reverse lookup IP addresses under a file!!.pls help

Write a quick shell snippet to find all of the IPV4 IP addresses in any and all of the files under /var/lib/output/*, ignoring whatever else may be in those files. Perform a reverse lookup on each, and format the output neatly, like "IP=192.168.0.1, ... (0 Replies)
Discussion started by: choco4202002
0 Replies

7. Shell Programming and Scripting

Reverse lookup

hey guys, can anybody help me out here on the following: grep '^\{1,3\}\.\{1,3\}\.\{1,3\}\.\{1,3\}$' ravi.txt mary.txt lisa.txt https://www.unix.com/images/misc/progress.gif i.e what i did was found ip addreses from different files and then i want... (1 Reply)
Discussion started by: ravis83
1 Replies

8. UNIX for Advanced & Expert Users

[DNS] Reverse Lookup for 2 IP Addresses

Originally I had the server at home and on Comcast so I used dyndns.org for DNS. Once the server got a bit more popular, I leased a server at a colo facility. They set up the server name in their DNS so I didn't really have any reason to manage my own DNS. DynDNS was managing the domains and I... (7 Replies)
Discussion started by: BOFH
7 Replies

9. UNIX for Dummies Questions & Answers

Reverse lookup issue

I came back to my solaris 10 system after a week of being gone and xterm no longer work. I checked into it and the system doesn't reverse lookup my client system. There is a manual entry for my system in the /etc/hosts file and a forward lookup works fine, but I still can't get reverse lookup. Any... (0 Replies)
Discussion started by: clogan1981
0 Replies

10. Red Hat

DNS reverse lookup issue

Hi guys. Ok so let me lay out my configs. I can do a NSlookup from client to server BUT NOT a reverse lookup. DNS server: Optimus.jaydomain.com IP : 192.168.1.50 DNS Client: Megatron.jaydomain.com IP : 192.168.1.60 On Sever: # cat /etc/named.conf // // named.conf // // Provided... (4 Replies)
Discussion started by: Junaid Subhani
4 Replies
SQL::Statement::Function(3pm)				User Contributed Perl Documentation			     SQL::Statement::Function(3pm)

NAME
SQL::Statement::Function - abstract base class for all function executing terms SYNOPSIS
# this class doesn't have a common constructor, because all derived classes # have their special requirements DESCRIPTION
SQL::Statement::Function is an abstract base class providing the interface for all function executing terms. INHERITANCE
SQL::Statement::Function ISA SQL::Statement::Term METHODS
DESTROY Destroys the term and undefines the weak reference to the owner as well as the reference to the parameter list. NAME
SQL::Statement::Function::UserFunc - implements executing a perl subroutine SYNOPSIS
# create an user function term with an SQL::Statement object as owner, # specifying the function name, the subroutine name (full qualified) # and the parameters to the subroutine my $term = SQL::Statement::Function::UserFunc->new( $owner, $name, $sub, @params ); # access the result of that operation $term->value( $eval ); DESCRIPTION
SQL::Statement::Function::UserFunc implements a term which returns the result of the specified subroutine. INHERITANCE
SQL::Statement::Function ISA SQL::Statement::Term METHODS
new Instantiates a new "SQL::Statement::Function::UserFunc" instance. value Invokes the given subroutine with the values of the params and return it's result: my @params = map { $_->value($eval); } @{ $self->{PARAMS} }; return $subpkg->$subname( $self->{OWNER}, @params ); NAME
SQL::Statement::Function::NumericEval - implements numeric evaluation of a term SYNOPSIS
# create an user function term with an SQL::Statement object as owner, # specifying the expression to evaluate and the parameters to the subroutine my $term = SQL::Statement::NumericEval->new( $owner, $expr, @params ); # access the result of that operation $term->value( $eval ); DESCRIPTION
SQL::Statement::Function::NumericEval implements the numeric evaluation of a term. All parameters are expected to be numeric. INHERITANCE
SQL::Statement::Function::NumericEval ISA SQL::Statement::Function ISA SQL::Statement::Term METHODS
new Instantiates a new "SQL::Statement::Function::NumericEval" instance. Takes $owner, $expr and @params as arguments (in specified order). value Returns the result of the evaluated expression. NAME
SQL::Statement::Function::Trim - implements the built-in trim function support SYNOPSIS
# create an trim function term with an SQL::Statement object as owner, # specifying the spec, char and the parameters to the subroutine my $term = SQL::Statement::Trim->new( $owner, $spec, $char, @params ); # access the result of that operation $term->value( $eval ); DESCRIPTION
SQL::Statement::Function::Trim implements string trimming. INHERITANCE
SQL::Statement::Function::Trim ISA SQL::Statement::Function ISA SQL::Statement::Term METHODS
new Instantiates a new "SQL::Statement::Function::Trim" instance. Takes $owner, $spec, $char and @params as arguments (in specified order). Meaning of the parameters: $spec Can be on of 'LEADING', 'TRAILING' 'BOTH'. Trims the leading chars, trailing chars or at both ends, respectively. Defaults to 'BOTH'. $char The character to trim - defaults to ' ' @params Expected to be an array with exact 1 element (more aren't evaluated). value Returns the trimmed value of first parameter argument. NAME
SQL::Statement::Function::SubString - implements the built-in sub-string function support SYNOPSIS
# create an substr function term with an SQL::Statement object as owner, # specifying the start and length of the sub string to extract from the # first element of @params my $term = SQL::Statement::SubString->new( $owner, $start, $length, @params ); # access the result of that operation $term->value( $eval ); DESCRIPTION
SQL::Statement::Function::SubString implements a sub-string extraction term. INHERITANCE
SQL::Statement::Function::SubString ISA SQL::Statement::Function ISA SQL::Statement::Term METHODS
new Instantiates a new "SQL::Statement::Function::SubString" instance. Takes $owner, $start, $length and @params as arguments (in specified order). Meaning of the parameters: $start Specifies the start position to extract the sub-string. This is expected to be a SQL::Statement::Term instance. The first character in a string has the position 1. $length Specifies the length of the extracted sub-string. This is expected to be a SQL::Statement::Term instance. If omitted, everything to the end of the string is returned. @params Expected to be an array with exact 1 element (more aren't evaluated). value Returns the extracted sub-string value from first parameter argument. NAME
SQL::Statement::Function::StrConcat - implements the built-in string concatenation SYNOPSIS
# create an substr function term with an SQL::Statement object as owner # and @params to concatenate my $term = SQL::Statement::StrConcat->new( $owner, @params ); # access the result of that operation $term->value( $eval ); DESCRIPTION
SQL::Statement::Function::StrConcat implements a string concatenation term. INHERITANCE
SQL::Statement::Function::StrConcat ISA SQL::Statement::Function ISA SQL::Statement::Term METHODS
new Instantiates a new "SQL::Statement::Function::StrConcat" instance. value Returns the concatenated string composed of the parameter values. AUTHOR AND COPYRIGHT
Copyright (c) 2009,2010 by Jens Rehsack: rehsackATcpan.org All rights reserved. You may distribute this module under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file. perl v5.10.1 2011-02-01 SQL::Statement::Function(3pm)
All times are GMT -4. The time now is 04:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy