With PROP, it seems, you can't.  I tried to write some automation
using PROP about a year ago, and couldn't get it to work.  Linux may
write multiple lines on the console with a single I/O, separating each
line with a newline character.  CP writes the output on the console as
separate lines.  But, if you also send the output to a secondary user
and use *MSG to read it (as PROP does), CP does not split up the lines
- you get one line per I/O with embedded newlines.  PROP seems to have
a limit on how long of a line it will scan for a matching message.  I
just looked to see if this was documented, but I didn't find it.

My alternative for that particular application was to write a CMS
Pipeline to separate the lines and look for the string.  Commercial
automated operations products should work as well.

On Tue, Sep 8, 2009 at 3:33 AM, Jan de Wet - Business
Connexion<[email protected]> wrote:
> Hi
>
> I am trying to use PROP to monitor Linux Red Hat
> I am elimination all lines that are OK in the RTABLE to catche any
> strange messages
> I found that in PROP, some lines are concatenated
> These are lines that seem to end on a X'FF'
> On the Linux console they apear as separate messages
> How can I get them as separate messages on PROP
>
> ex on Linux
> Starting system logger:
> [  OK  ]..
> Starting kernel logger: [  OK  ]..
> Starting portmap: [  OK  ]..
> Starting NFS statd:
> [  OK  ]..
> Starting RPC idmapd:
>
> in PROP
> ZABBIX03 BCXZVM  :  [  OK  ]...STARTING SYSTEM LOGGER: [  OK
> ]...STARTING KERNEL LOGGER:
> ZABBIX03 BCXZVM  :  [  OK  ]...STARTING PORTMAP: [  OK  ]...STARTING NFS
> STATD:
> ZABBIX03 BCXZVM  :  [  OK  ]...STARTING RPC IDMAPD:
>
> thank you
>
>
>
>
>
>
> Jan de Wet
>
> Deployment | Data Centre Services
>
> office +27 (0)11 729 5436 | fax +27 (0)86 572 5720 | mobile +27 (0)82
> 902 1996
>
> web site www.bcx.co.za <http://www.bcx.co.za/>
>
> Email: [email protected]
>
>
>
>
>
>
> Jesus Christ is my Lord
>
>
>
>
> This e-mail and its contents are subject to the Business Connexion (Pty) Ltd 
> e-mail legal notice available at:
> http://www.bcx.co.za/disclaimer.htm
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>



-- 
Bruce Hayden
Linux on System z Advanced Technical Support
IBM, Endicott, NY

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to