Starting and stopping engines  Starting and stopping engines with sp_engine

Chapter 5: Managing Multiprocessor Servers

Monitoring engine status

Before you bring an engine online or offline, you may need to check the status of the engines currently running. sysengines includes any of the following in the status column:

The following command shows the engine number, status, number of tasks affinitied, and the time an engine was brought online:

select engine, status, affinitied, starttime 
from sysengines
engine status       affinitied  starttime         
------ ------------ ----------- --------------------------
     0 online                12        Mar  5 2001 9:40PM
     1 online                 9        Mar  5 2001 9:41PM
     2 online                12        Mar  5 2001 9:41PM
     3 online                14        Mar  5 2001 9:51PM
     4 online                 8        Mar  5 2001 9:51PM
     5 in offline            10        Mar  5 2001 9:51PM





Copyright © 2005. Sybase Inc. All rights reserved. Starting and stopping engines with sp_engine

View this book as PDF