V$DEAD_CLEANUP shows the dead processes and killed sessions present in the instance and their cleanup status.
Indicates whether a row contains a DEAD PROCESS or KILLED SESSION
Process pointer. Can be joined with V$PROCESS. For a killed session, this is the owner of the session, which can be NULL.
Session pointer. Can be joined with V$SESSION. For a dead process, this is the user session.
Pointer to the root of the tree
Indicates which process is responsible for cleanup of this tree:
CLEANUP PROCESS - a cleanup process is responsible
OWNER PROCESS - the root owner is responsible
CLEANUP PENDING - Occurs for a dead process / killed session that can be cleaned up, but PMON has not yet made an attempt
IN PROGRESS - A cleanup attempt is currently in progress
RESOURCES FREED - Occurs for a dead process / killed session where all children have been freed, but the process / killed session itself is not yet freed
PARTIAL CLEANUP - Occurs if some of the children have been cleaned up
Time since the process was marked dead or the session was marked killed (in seconds)
Number of times PMON has attempted cleanup
How long ago the last cleanup attempt occurred (in seconds)
Process pointer for the cleanup process currently cleaning up this tree (can join with V$CLEANUP_PROCESS). It will be NULL if cleanup is not currently in progress or if the owner is responsible for cleanup.
Total amount of time PMON has spent on cleanup of the process/session (in seconds)
Number of sessions blocked on cleanup of this session
The ID of the container to which the data pertains. Possible values include:
0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.
1: This value is used for rows containing data that pertain to only the root
n: Where n is the applicable container ID for the rows containing data