Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Find active cluster node in Solaris 10

by flexvault (Prior)
on Aug 22, 2012 at 17:29 UTC ( #989107=note: print w/ replies, xml ) Need Help??


in reply to Find active cluster node in Solaris 10

maskull,

I saw your question earlier, but since no one has commented, I'll take a shot!

I haven't used a Solaris system in 10+ years, but on other *nix systems, I would use:

my @results = qx/ . . . /;
Whatever system command you would use on the console, you can issue via 'qx' and it will give you the answer. In this context, I'm using the array @results, so you can get multiple lines of output. And, as usual there are multiple ways of doing this.

Good Luck!

"Well done is better than well said." - Benjamin Franklin


Comment on Re: Find active cluster node in Solaris 10
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989107]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2015-07-07 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls