Re: Help required in writing a script

2008-10-28 Thread Philip Durbin
On Oct 23, 2008, at 11:22 AM, Philip Durbin wrote: monnappa appaiah wrote: i need help on something i'm working on.I have 127 systems connected in the network, i want to write a script which will run on a management server, i shud be able to connect to each and every s

Re: Help required in writing a script

2008-10-23 Thread Rob Dixon
Chas. Owens wrote: > On Thu, Oct 23, 2008 at 18:07, Rob Dixon <[EMAIL PROTECTED]> wrote: >> >> Microsoft's 'nmake' is available for free, but some versions have been more >> compatible with standard modules than others, and in any case, as there is >> still >> no C compiler, on its own it is a sol

Re: Help required in writing a script

2008-10-23 Thread Chas. Owens
On Thu, Oct 23, 2008 at 18:07, Rob Dixon <[EMAIL PROTECTED]> wrote: snip > In their endless search for money, Microsoft don't supply a C compiler, > assembler, or linker with any version of Windows in the last twenty years or > so. > Also, because of several deliberate decisions to make people pay

Re: Help required in writing a script

2008-10-23 Thread Rob Dixon
monnappa appaiah wrote: > >i tried to install the "Expect" modulebut i got the below > error msg: [snip] > cpan> install Expect > Running install for module 'Expect' [snip] > Checking if your kit is complete... > Looks good > Warning: prerequisite IO::Pty 1.03 not found. > Warn

Re: Help required in writing a script

2008-10-23 Thread Chas. Owens
On Thu, Oct 23, 2008 at 16:18, monnappa appaiah <[EMAIL PROTECTED]> wrote: snip >i tried to install the "Expect" modulebut i got the below > error msg: snip > ERROR: cannot run the configured compiler 'cl' > (see conf/compilerok.log). Suggestions: > 1) The complier 'cl' is not in yo

Re: Help required in writing a script

2008-10-23 Thread monnappa appaiah
Hi, i tried to install the "Expect" modulebut i got the below error msg: cpan> m /Expect/ Going to read C:\Perl\cpan\Metadata Database was generated on Mon, 20 Oct 2008 08:27:31 GMT ModuleBio::MAGE::QuantitationType::ExpectedValue (JASONS/Bio-MAGE-20020902.6 .tar.gz) Module

Re: Help required in writing a script

2008-10-23 Thread Chas. Owens
On Thu, Oct 23, 2008 at 10:49, monnappa appaiah <[EMAIL PROTECTED]> wrote: > i want to run specific commands and the output of those shud be put into a > file. snip So, you will need to learn to use: Net::SSH (if you want to use keys, this is preferable) - http://search.cpan.org/dist/Net-SSH/SSH.

Re: Help required in writing a script

2008-10-23 Thread Philip Durbin
monnappa appaiah wrote: i need help on something i'm working on.I have 127 systems connected in the network, i want to write a script which will run on a management server, i shud be able to connect to each and every system (all the systems have same password) and execute ce

Re: Help required in writing a script

2008-10-23 Thread monnappa appaiah
i want to run specific commands and the output of those shud be put into a file. On Thu, Oct 23, 2008 at 8:13 PM, Chas. Owens <[EMAIL PROTECTED]> wrote: > On Thu, Oct 23, 2008 at 10:34, monnappa appaiah <[EMAIL PROTECTED]> > wrote: > > Hi, > > i connect to machines using ssh, i need to co

Re: Help required in writing a script

2008-10-23 Thread Chas. Owens
On Thu, Oct 23, 2008 at 10:34, monnappa appaiah <[EMAIL PROTECTED]> wrote: > Hi, > i connect to machines using ssh, i need to collect only > stdout..connecting to all those machines serially or parllely is fine. > > Thanks, > Monnappa snip Do you want to run arbitrary commands at any tim

Re: Help required in writing a script

2008-10-23 Thread monnappa appaiah
Hi, i connect to machines using ssh, i need to collect only stdout..connecting to all those machines serially or parllely is fine. Thanks, Monnappa On Thu, Oct 23, 2008 at 7:50 PM, Chas. Owens <[EMAIL PROTECTED]> wrote: > On Thu, Oct 23, 2008 at 09:36, monnappa appaiah <[EMAIL PROTE

Re: Help required in writing a script

2008-10-23 Thread Chas. Owens
On Thu, Oct 23, 2008 at 09:36, monnappa appaiah <[EMAIL PROTECTED]> wrote: > Hi all, > > i need help on something i'm working on.I have 127 > systems connected in the network, i want to write a script which will run on > a management server, i shud be able to connect to each an

Re: Help required in writing a script

2008-10-23 Thread Rodrick Brown
Look at Net::SSH. On Thu, Oct 23, 2008 at 9:36 AM, monnappa appaiah <[EMAIL PROTECTED]>wrote: > Hi all, > > i need help on something i'm working on.I have 127 > systems connected in the network, i want to write a script which will run > on > a management server, i shud be abl