Re: Shutting down RTEMS

"[email protected]" <[email protected]>
Newsgroups gmane.comp.sysutils.tivoli.general,gmane.comp.sysutils.tivoli.tme10
Message-ID <CAMzJ2PpKvQcygtXKXGdwgcD7rd83T8GWPYTo085g3_=qA7gJpQ@mail.gmail.com>
Personally, Robin, I like the "try twice and dice" method.  If it still
doesn't shut down on the second attempt, soft kill, then hard kill as last
resort.

# alias itmstops='itmcmd server stop <tems_name>'
# pid=$(ps -e | grep kdsmain | awk '{print $1}')
# itmstops || itmstops || kill $pid || kill -9 $pid

There are a couple of minor, rare concerns with killing kdsmain, but stars
have to align just right and edits/updates to *.DB/*.IDX files have to be
occurring simultaneously and usually you'll be aware of those.

Toben


On Wed, Apr 10, 2013 at 8:54 AM, <Robin.Smith-U3F5sf8KFGKCmk9zJvdQaQC/[email protected]> wrote:

> itmcmd server stop
>
> No -f option?  Is it better to keep trying to shutdown or kill the
> kdsmain  process if it takes longer than 10 minutes on a RTEMS??
> Lloyds TSB Bank plc. Registered Office: 25 Gresham Street, London EC2V
> 7HN. Registered in England and Wales, number 2065. Telephone: 020 7626 1500.
>
> Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ.
> Registered in Scotland, number 327000.  Telephone: 020 7626 1500.
>
> Lloyds TSB Scotland plc. Registered Office: Henry Duncan House, 120 George
> Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone:
> 0131 225 4555.
>
> Cheltenham & Gloucester plc. Registered Office: Barnett Way, Gloucester
> GL4 3RL. Registered in England and Wales, number 2299428. Telephone: 01452
> 372372.
>
> Lloyds TSB Bank plc, Lloyds TSB Scotland plc, Bank of Scotland plc and
> Cheltenham & Gloucester plc are authorised and regulated by the Financial
> Services Authority.
>
> Halifax is a division of Bank of Scotland plc. Cheltenham & Gloucester
> Savings is a division of Lloyds TSB Bank plc.
>
> HBOS plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in
> Scotland, number 218813.  Telephone: 020 7626 1500.
>
> Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ.
> Registered in Scotland, number 95000. Telephone: 0131 225 4555
>
> This e-mail (including any attachments) is private and confidential and
> may contain privileged material. If you have received this e-mail in error,
> please notify the sender and delete it  (including any attachments)
> immediately. You must not copy, distribute, disclose or use any of the
> information in it or any attachments.
>
> Telephone calls may be monitored or recorded.
>
>
>
> _______________________________________________
> TME10 mailing list
> [email protected]
> Unsubscribe:[email protected]
>
>


-- 
"Sometimes I think that's the only right thing to do:
To dream. to live in the world of dreams.
But it doesn't last forever--wakefulness always comes to take me back..."

_______________________________________________
TME10 mailing list
[email protected]
Unsubscribe:[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.