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 2007 9:40PM
     1 online                 9        Mar  5 2007 9:41PM
     2 online                12        Mar  5 2007 9:41PM
     3 online                14        Mar  5 2007 9:51PM
     4 online                 8        Mar  5 2007 9:51PM
     5 in offline            10        Mar  5 2007 9:51PM