Sponsored Content
Full Discussion: I need help with...<various>
Top Forums Shell Programming and Scripting I need help with...<various> Post 302242049 by Habitual on Wednesday 1st of October 2008 04:26:24 AM
Old 10-01-2008
And here's the answer I wanted with desired output:

host -t ns example.com | while read dom ns server; do dig +short $dom | echo $server "shows an IP of" `dig +short $dom` for $dom; done <enter>

Gives me this output:
server a.iana-servers.net. shows an IP of 208.77.188.166 for example.com
server b.iana-servers.net. shows an IP of 208.77.188.166 for example.com

Thanks era for the assist. Smilie
 
X11PERFCOMP(1)						      General Commands Manual						    X11PERFCOMP(1)

NAME
x11perfcomp - X11 server performance comparison program SYNTAX
x11perfcomp [ -r | -ro ] [ -l label_file ] files DESCRIPTION
The x11perfcomp program merges the output of several x11perf(1) runs into a nice tabular format. It takes the results in each file, fills in any missing test results if necessary, and for each test shows the objects/second rate of each server. If invoked with the -r or -ro options, it shows the relative performance of each server to the first server. Normally, x11perfcomp uses the first file specified to determine which specific tests it should report on. Some (non-DEC :) servers may fail to perform all tests. In this case, x11perfcomp automatically substitutes in a rate of 0.0 objects/second. Since the first file determines which tests to report on, this file must contain a superset of the tests reported in the other files, else x11perfcomp will fail. You can provide an explicit list of tests to report on by using the -l switch to specify a file of labels. You can create a label file by using the -label option in x11perf. OPTIONS
x11perfcomp accepts the options listed below: -r Specifies that the output should also include relative server performance. -ro Specifies that the output should include only relative server performance. -l label_file Specifies a label file to use. X DEFAULTS
There are no X defaults used by this program. SEE ALSO
X(7x), x11perf(1) AUTHORS
Mark Moraes wrote the original scripts to compare servers. Joel McCormack just munged them together a bit. X Version 11 Release 6.6 X11PERFCOMP(1)
All times are GMT -4. The time now is 03:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy