awk remote multiple hosts print remote hostname and output
Hi all,
i'm trying to gether multiple pattern on remote hosts, and trying to print hostname and the pattern,
The output is the following,
I need to output the following format
Hi all,
Have used ftp to transfer files from remote host to localhost.
I was wondering how can I ftp into remote hosts.
for example from a unix box, connect to an external server and then ftp that file into mainframe ? I would like to avoid pulling it to unix box and then ftping to mainframe.... (1 Reply)
Hi gurus of unix!!!!, I have a little question. I nedd your helps
The scenarios is the following
I have tree equipment that are installed in different places. I use a carrier to interconnect the equipment.
Some Port's (TCP) need to be open for an application that must be function correctly.
For... (3 Replies)
Hi,
I've been looking for a way to execute a console program (is in windows but by now I accept the linux way) from a linux machine, but this program has to be opened in the remote side. Linux machine acts only as a "signaling" host. My program has to open the camera in the remote side, but only... (7 Replies)
Hello forum:
I am curious about some output that I get using an alias <command> on a remote host and I wondered if someone could point me in the right direction.
Symptoms:
Using "ssh -qi /path/to/key root@som.ipa.ddr.ess mail" (or variation of via alias)
only gives a partial textual... (7 Replies)
I have a script on about 15 hosts that I need to run for each host whenever I want (not crontab). Problem is, this script takes 5-10 mins to run for each host. Is there a way I can run the script in parallel for all the hosts instead of 1 at a time? Also, I'm remotely running the script on the... (3 Replies)
so i'm doing something similar to this:
ssh myname@remotehost 'tail -800 /var/log/some.log'
Now, as you can see, this is a lot of data to be passing back and forth over a network.
Is there anything i can do to make the output smaller (zip it on the fly, compress?) and then when the data... (4 Replies)
Hello,
I am trying to login to multiple servers and i have to run multiple loops to gather some details..Could you please help me out.
I am specifically facing issues while running for loops.
I have to run multiple for loops in else condition. but the below code is giving errors in for... (2 Replies)
Dear Folks,
I am trying to read a config file contains ip and port numbers.
i want to read each line of the config file and check ssh connection is happening or not.
Kindly guide.
Config file:
abc@1.2.342 22
abc@1.2.343 22
abc@1.2.344 22
abc@1.2.345 22... (9 Replies)
Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh.
Actions to perform within a single ssh session via shell script
- copy a file
- untar at destination (remote host)
OS : Linux RHEL6 (3 Replies)
Hello all,
i'm trying to create a report by greping a pattern on multiple remote hosts and creta a simple report,
actually i did this, is ther any better way to do this.
#!/bin/bash
for host in `cat RemoteHosts`
do
ssh $host -C 'hostname 2>&1; grep ERROR /var/log/WebServer.log.2019-09-21... (0 Replies)
Discussion started by: charli1
0 Replies
LEARN ABOUT DEBIAN
bio::search::result::hmmpfamresult
Bio::Search::Result::HmmpfamResult(3pm) User Contributed Perl Documentation Bio::Search::Result::HmmpfamResult(3pm)NAME
Bio::Search::Result::HmmpfamResult - A parser and result object for hmmpfam
results
SYNOPSIS
# generally we use Bio::SearchIO to build these objects
use Bio::SearchIO;
my $in = Bio::SearchIO->new(-format => 'hmmer_pull',
-file => 'result.hmmer');
while (my $result = $in->next_result) {
print $result->query_name, " ", $result->algorithm, " ", $result->num_hits(), " hits
";
}
DESCRIPTION
This object implements a parser for hmmpfam result output, a program in the HMMER package.
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the
Bioperl mailing list. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address
it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
AUTHOR - Sendu Bala
Email bix@sendu.me.uk
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : new
Usage : my $obj = Bio::SearchIO::Result::hmmpfam->new();
Function: Builds a new Bio::SearchIO::Result::hmmpfam object
Returns : Bio::SearchIO::Result::hmmpfam
Args : -chunk => [Bio::Root::IO, $start, $end] (required if no -parent)
-parent => Bio::PullParserI object (required if no -chunk)
-parameters => hash ref of search parameters (key => value), optional
-statistics => hash ref of search statistics (key => value), optional
where the array ref provided to -chunk contains an IO object
for a filehandle to something representing the raw data of the
result, and $start and $end define the tell() position within the
filehandle that the result data starts and ends (optional; defaults
to start and end of the entire thing described by the filehandle)
next_hit
Title : next_hit
Usage : while( $hit = $result->next_hit()) { ... }
Function: Returns the next available Hit object, representing potential
matches between the query and various entities from the database.
Returns : a Bio::Search::Hit::HitI object or undef if there are no more.
Args : none
next_model
Title : next_model
Usage : my $domain = $result->next_model
Function: Returns the next domain - this is an alias for next_hit()
Returns : L<Bio::Search::Hit::HitI> object
Args : none
hits
Title : hits
Usage : my @hits = $result->hits
Function: Returns the HitI objects contained within this Result
Returns : Array of Bio::Search::Hit::HitI objects
Args : none
See Also: Bio::Search::Hit::HitI
models
Title : models
Usage : my @domains = $result->models;
Function: Returns the list of HMM models seen - this is an alias for hits()
Returns : Array of L<Bio::Search::Hit::HitI> objects
Args : none
sort_hits
Title : sort_hits
Usage : $result->sort_hits('<score')
Function : Sorts the hits so that they come out in the desired order when
hits() or next_hit() is called.
Returns : n/a
Args : A coderef for the sort function. See the documentation on the Perl
sort() function for guidelines on writing sort functions.
You will be sorting array references, not HitI objects. The
references contain name as element 0, description as element 1,
score as element 2, significance as element 3 and number of hsps
as element 4.
By default the sort order is ascending significance value (ie.
most significant hits first).
Note : To access the special variables $a and $b used by the Perl sort()
function the user function must access
Bio::Search::Result::HmmpfamResult namespace.
For example, use :
$result->sort_hits(
sub{$Bio::Search::Result::HmmpfamResult::a->[2]
<=>
$Bio::Search::Result::HmmpfamResult::b->[2]});
NOT $result->sort_hits($a->[2] <=> $b->[2]);
rewind
Title : rewind
Usage : $result->rewind;
Function: Allow one to reset the Hit iterator to the beginning, so that
next_hit() will subsequently return the first hit and so on.
Returns : n/a
Args : none
perl v5.14.2 2012-03-02 Bio::Search::Result::HmmpfamResult(3pm)