You could trap it using a CP PIPE stage.

On Thu, Sep 16, 2010 at 1:27 PM, Offer Baruch <[email protected]> wrote:

> How?
> The signal command finishes in a sec.
> I have to wait for the message to arrive and trap it seperatly... how can I
> do that?
>
> Offer
>
> -----Original Message-----
> From: Linux on 390 Port [mailto:[email protected]] On Behalf Of
> Michael MacIsaac
> Sent: Thursday, September 16, 2010 2:03 PM
> To: [email protected]
> Subject: Re: vmpoff and vmhalt
>
> Offer,
>
> You wrote:
> > Sadly that did not work...
>
> I'm just curious. Early in this thread it was recommended that you trap the
> message from SIGNAL SHUTDOWN. Usually about 15 seconds after signaling a
> Linux virtual machine to shut down, I get a message. For example:
>
>  ==> q linux01
>  LINUX01  - DSC
>  ==> signal shutdown linux01
>  ... then about 15 seconds later I see:
>  HCPSIG2113I User LINUX01 has reported successful termination
>
> So why can't you trap the message: "HCPSIG2113I User LINUX01 has reported
> successful termination"?
>
> "Mike MacIsaac" <[email protected]>   (845) 433-7061
>
> ----------------------------------------------------------------------
> 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
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit http://wiki.linuxvm.org/
>
> ----------------------------------------------------------------------
> 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
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>



--
Mark D Pace
Senior Systems Engineer
Mainline Information Systems

----------------------------------------------------------------------
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
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to