Re: crs_stat formatting questions and comments

From: Ls Cheng <exriscer_at_gmail.com>
Date: Mon, 9 Jul 2012 23:52:22 +0200
Message-ID: <CAJ2-Qb_zMZHNPegxK3EzEH8eDnY=KHRD-35v7QzagYmxjMx88A_at_mail.gmail.com>



Hi
There is an AWK script in MOS for RAC 10g which formats the output, have you tried it?

Regards

On Mon, Jul 9, 2012 at 5:18 PM, Taylor, Chris David < ChrisDavid.Taylor_at_ingrambarge.com> wrote:

> So, why does "crs_stat -t" formatting not adjust correctly to my terminal
> size?
> (I'm using the default gnome-terminal in Oracle Linux so any suggestions
> along that line are also appreciated)
>
> $ crs_stat -t
>
> Name Type Target State Host
> ------------------------------------------------------------
> ora.GRID.dg ora....up.type ONLINE ONLINE rac1
> ora....ER.lsnr ora....er.type ONLINE ONLINE rac1
> ora....N1.lsnr ora....er.type ONLINE ONLINE rac2
> ora....N2.lsnr ora....er.type ONLINE ONLINE rac1
> ora....N3.lsnr ora....er.type ONLINE ONLINE rac1
> ora.asm ora.asm.type ONLINE ONLINE rac1
> ora.cvu ora.cvu.type ONLINE ONLINE rac1
> ora.gsd ora.gsd.type OFFLINE OFFLINE
> ora....network ora....rk.type ONLINE ONLINE rac1
> ..
> ..
>
> I downloaded
> http://blog.enkitec.com/wp-content/uploads/2012/04/crsstat.v1.2.1.zipwritten by Paul Elbow _at_ Enkitec but it seems (to me) that I should be able
> to set up my default user profile so that crs_stat -t always displays
> correctly but perhaps I'm mistaken.
>
> I don't understand why crs_stat is formatting so badly.
>
> Chris Taylor
>
> "Quality is never an accident; it is always the result of intelligent
> effort."
> -- John Ruskin (English Writer 1819-1900)
>
> Any views and/or opinions expressed herein are my own and do not
> necessarily reflect the views of Ingram Industries, its affiliates, its
> subsidiaries or its employees.
>
>
>
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jul 09 2012 - 16:52:22 CDT

Original text of this message