RE: Shutting down RTEMS

<Robin.Smith-U3F5sf8KFGKCmk9zJvdQaQC/[email protected]>
Newsgroups gmane.comp.sysutils.tivoli.general
Message-ID <E26EA6DC162EF040A1D772C6E6D3477404148665__43359.3200207271$1365609012$gmane$org@EXCHL0122.rtdom.com>
Thanks Toben, that's the approach I usually take, check the logfiles,
see if anything been written and if not kill, then a kill -9...
 
The standard kill seemed to trigger something so they must have put a
trap in there somewhere. Might be worth u changing to
 
itmstops || itmstops || kill $pid || sleep 120 || kill -9 $pid

Think this rtems was already dead before I tried to shut it down, agents
were all showing offline
 
Found this in the ms log
Tue Apr  9 09:01:21 2013 KDS9150I   The TEMS Sitmon thread is BUSY.
Process TaskManager::process#1 has been in the BUSY state for longer
than 900 seconds.

Then no more entries, until I shut it down - ring any bells with
anybody???
 
 
 
 

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: 10 April 2013 15:07
To: Discussion list for Tivoli product and Tivoli Ready products.
Subject: Re: [TME10] Shutting down RTEMS


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]
<mailto: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..." 
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]
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.