in reply to Find active cluster node in Solaris 10
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:
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.my @results = qx/ . . . /;
Good Luck!
"Well done is better than well said." - Benjamin Franklin
|
|---|