Task State 
The following is a list of all possible task states:
|
Closing input/output channels after backup/restore |
|
|
AsynCntl |
Task determining parameters or initializing backup device |
|
AsynOpen |
Opening input/output channels for backup/restore |
|
AsynWait |
Task waiting for execution of input/output activity when making backup/restore |
|
Command reply |
Task sending result of request to application |
|
Command wait |
Task is a database session without request |
|
Connect wait |
Free database session |
|
Diaginit |
Initializing trace volume |
|
DcomObjCalled |
Task is executing database procedure/COM object |
|
Inactive |
Task is in initial state and has no resources (such as stack) |
|
InsertEvent |
Task generating an event |
|
IO wait |
Waiting for I/O (W:write, R:read) |
|
RescheduleMsec |
Short-term wait situation; starts running again automatically after specified period (in microseconds) |
|
Runnable |
Can run now, but swapped due to long runtime or priority of another task |
|
Running |
Running, using CPU |
|
Sus... |
Special suspend situations |
|
Terminated |
Ending task/terminating database instance, or instance crashing |
|
Vattach |
Opening input/output channels (volumes, normal operation) |
|
Vbegexcl |
Waiting for protected memory access |
|
Vdetach |
Closing input/output channels (volumes, normal operation) |
|
Vdevsize |
Determining size or formatting of volume |
|
Vendexcl |
Can run again after protected memory access that caused lock collision |
|
Vopmsg |
Writing a message to the files knldiag, knldiag.err and/or opmsg[n] |
|
Vrelease |
Ending database session between database instance and application |
|
Vshutdown |
Operational state of database instance changing from ONLINE to ADMIN |
|
Vsleep |
Short-term wait situation; starts running again automatically after specified period |
|
Vsuspend |
Waiting for B* tree lock (very short) or log I/O, awoken explicitly |
|
Vwait |
Waiting for SQL lock |
|
WaitForEvent |
Task waiting for generation of events |
You can display the task states with the console tool, for example. In SAP systems, you can use the CCMS to call the console. For more information, see the documentation Database Administration in CCMS: SAP DB OLTP or Database Administration in CCMS: liveCache.