Note_Tech

All technological notes.


Project maintained by simonangel-fong Hosted on GitHub Pages — Theme by mattgraham

Oracle Database Administration Workshop

All Note



Catelog




SELECT name FROM v$controlfile;
SELECT is_recovery_dest_file FROM v$controlfile;
SELECT block_size FROM v$controlfile;
SELECT file_size_blks FROM v$controlfile;
SELECT con_id FROM v$controlfile;
SELECT name, block_size, file_size_blks FROM v$controlfile;

Lab: get the database name

# check for the presence of Oracle System Monitor (SMON) processes.
# ps -ef: Lists information about all currently running processes in a detailed format.
# grep smon: Searches for lines containing the string "smon" in the output
# grep -v grep:  ensures that the grep process used for searching is not included in the results.
ps -ef | grep smon
ps -ef | grep smon | grep -v grep

TOP