[ha-clusters-discuss] please review one line code change to fix CR 6707591 for the HA Container agent
Neil Garthwaite
Neil.Garthwaite at Sun.COM
Thu Jul 24 11:13:37 PDT 2008
Hi Nils,
Good catch. However I get these results.
bash-3.00# svcs -H svc:/milestone/multi-user:default -o state
svcs: Pattern '-o' doesn't match any instances
svcs: Pattern 'state' doesn't match any instances
online Jul_17 svc:/milestone/multi-user:default
bash-3.00#
bash-3.00# svcs -Ho state svc:/milestone/multi-user:default
online
bash-3.00#
Regards
Neil
On 24 Jul 2008, at 19:01, Nils Goroll wrote:
> Hi Thorsten,
>
> SVC_STATE=`(${ZLOGIN} ${1} /bin/svcs -H ${2} -o state 2> /dev/null )`
>
> would save one fork, one exec, one awk ;-)
>
> _______________________________________________
> ha-clusters-discuss mailing list
> ha-clusters-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss
More information about the ha-clusters-discuss
mailing list