In today’s article, I will be explaining how we can learn about background processes running in the database.
Background processes are kept in the v$process view.
The content of the v$process view can be learned this way.
1 2 | SQL> SET LINESIZE 9000; SQL> SELECT ADDR, PID, PNAME, USERNAME, SERIAL#, TERMINAL, PROGRAM FROM V$PROCESS WHERE PNAME IS NOT NULL ORDER BY PNAME; |
We can learn the operating system prompt with the following code;
1 | -bash-3.2$ ps -ef | grep ora_ |