Linux下使用ps命令來查看oracle數(shù)據(jù)庫相關(guān)進(jìn)程的操作步驟
ps命令的操作是很多的小伙伴在管理進(jìn)程的操作的時(shí)候遇到的問題,對(duì)于Linux系統(tǒng)中今天小編就來跟大家分享一下詳解Oracle相關(guān)進(jìn)程在電腦中使用ps命令查看的操作步驟。...
具體的方法和詳細(xì)的步驟如下;
Oracle Listener
這個(gè)命令會(huì)列出Oracle Net Listener的進(jìn)程
[oracle@ www.linuxidc.com ~]$ ps -ef | grep tnslsnr
oracle 1999 29986 0 09:47 pts/2 00:00:00 grep tnslsnr
oracle 3647 1 0 Jul03 ? 00:00:34 /u01/oracle/mc3yd213/db/tech_st/11.1.0/bin/tnslsnr mc3yd213 -inherit
oracle 6431 1 0 Jul03 ? 00:00:00 /u01/oracle/mc3yd213/apps/tech_st/10.1.2/bin/tnslsnr APPS_mc3yd213 -inherit
oracle 13616 1 0 May27 ? 00:00:40 /u01/oracle/mc3yd213/apps/tech_st/10.1.2/bin/tnslsnr LISTENER -inherit
[oracle@ www.linuxidc.com ~]$
Oracle Background Process
[oracle@ www.linuxidc.com ~]$ ps -ef | grep -i "ora_"
oracle 1887 1 0 09:42 ? 00:00:00 ora_w000_mc3yd213
oracle 2159 1 0 09:54 ? 00:00:00 ora_j000_mc3yd213
oracle 2167 29986 0 09:55 pts/2 00:00:00 grep -i ora_
oracle 3516 1 0 Jul03 ? 00:02:00 ora_pmon_mc3yd213
oracle 3518 1 0 Jul03 ? 00:02:08 ora_vktm_mc3yd213
oracle 3522 1 0 Jul03 ? 00:00:27 ora_diag_mc3yd213
oracle 3524 1 0 Jul03 ? 00:00:18 ora_dbrm_mc3yd213
oracle 3526 1 0 Jul03 ? 00:00:35 ora_psp0_mc3yd213
oracle 3528 1 0 Jul03 ? 00:05:59 ora_dia0_mc3yd213
oracle 3530 1 0 Jul03 ? 00:00:19 ora_mman_mc3yd213
oracle 3532 1 0 Jul03 ? 00:01:06 ora_dbw0_mc3yd213
oracle 3534 1 0 Jul03 ? 00:02:53 ora_lgwr_mc3yd213
oracle 3536 1 0 Jul03 ? 00:02:08 ora_ckpt_mc3yd213
oracle 3538 1 0 Jul03 ? 00:01:36 ora_smon_mc3yd213
oracle 3540 1 0 Jul03 ? 00:00:06 ora_reco_mc3yd213
oracle 3542 1 0 Jul03 ? 00:02:01 ora_mmon_mc3yd213
oracle 3544 1 0 Jul03 ? 00:03:20 ora_mmnl_mc3yd213
oracle 3564 1 0 Jul03 ? 00:00:09 ora_fbda_mc3yd213
oracle 3569 1 0 Jul03 ? 00:00:16 ora_qmnc_mc3yd213
oracle 3584 1 0 Jul03 ? 00:00:36 ora_q000_mc3yd213
oracle 3586 1 0 Jul03 ? 00:00:15 ora_q001_mc3yd213
oracle 3690 1 0 Jul03 ? 00:02:30 ora_cjq0_mc3yd213
oracle 3707 1 0 Jul03 ? 00:00:28 ora_smco_mc3yd213
oracle 7676 1 0 Jul03 ? 00:42:49 ora_m000_mc3yd213
[oracle@ www.xitongzhijia.net~]$
eg.ora_pmon_mc3yd213 is PMON process,PMON (Process MONitor) is an Oracle background process created when you start a database instance. The PMON process will free up resources if a user process fails (eg. release database locks).
這些后臺(tái)進(jìn)程,從數(shù)據(jù)庫里也是能查到的,可以使用下邊這個(gè)SQL來查后臺(tái)進(jìn)程,在program列中,你就能看到SMON,MMON,CKPT,PMON,MMAN,MMNL...后臺(tái)進(jìn)程
select * FROM v$session WHERE type ='BACKGROUND';
Oracle Management Agent
[oracle@ www.linuxidc.com ~]$ ps -ef | grep emagent
oracle 2097 29986 0 09:51 pts/2 00:00:00 grep emagent
oraem 3130 1 0 May24 ? 00:08:57 /opt/oracle/oraem/agent10g/perl/bin/perl /opt/oracle/oraem/agent10g/bin/emwd.pl agent /opt/oracle/oraem/agent10g/sysman/log/emagent.nohup
oraem 3150 3130 0 May24 ? 00:25:56 /opt/oracle/oraem/agent10g/bin/emagent
[oracle@ www.xitongzhijia.net ~]$
以上就是我們?cè)谑褂弥杏龅降膒s命令的操作的技巧,希望本次的方法對(duì)你有很多的幫助作用,詳解Oracle相關(guān)進(jìn)程在電腦中使用ps命令查看的操作步驟還不會(huì)的小伙伴可以試試。
- 如何使用Access數(shù)據(jù)庫創(chuàng)建一個(gè)簡(jiǎn)單MIS管理系統(tǒng)
- Access數(shù)據(jù)庫日常維護(hù)和Access數(shù)據(jù)庫優(yōu)化方法
- MariaDB數(shù)據(jù)庫的外鍵約束實(shí)例代碼介紹詳解
- Windows10系統(tǒng)下MariaDB數(shù)據(jù)庫安裝教程圖解
- Mysql數(shù)據(jù)庫大表優(yōu)化方案和Mysql大表優(yōu)化步驟
- Mysql數(shù)據(jù)庫創(chuàng)建存儲(chǔ)過程實(shí)現(xiàn)往數(shù)據(jù)表中新增字段的方
- Mysql數(shù)據(jù)庫自定義函數(shù)的定義、使用方法及操作注意事
- Mysql數(shù)據(jù)庫的max_allowed_packet設(shè)定方法
- Mysql數(shù)據(jù)庫亂碼出現(xiàn)的各個(gè)階段以及對(duì)應(yīng)方法
- MySQL數(shù)據(jù)庫的事務(wù)處理用法與實(shí)例代碼詳解
如何使用Access數(shù)據(jù)庫創(chuàng)建一個(gè)簡(jiǎn)單MIS管理系統(tǒng)
MIS管理系統(tǒng)也是一種很實(shí)用的管理系統(tǒng),可以將很多東西都放的井井有條,便于大家查找,下文中就以大家家中都有的CD、VCD為例,為大家介紹如何建立一個(gè)MIS管理系統(tǒng),使這些東西有條理。...
Access數(shù)據(jù)庫日常維護(hù)和Access數(shù)據(jù)庫優(yōu)化方法
文章主要介紹了Access數(shù)據(jù)庫日常維護(hù)方法(優(yōu)化),適用范圍:使用Access作為數(shù)據(jù)庫建設(shè)的網(wǎng)站。需要的朋友可以參考下...
MariaDB數(shù)據(jù)庫的外鍵約束實(shí)例代碼介紹詳解
文章主要給大家介紹了關(guān)于MariaDB數(shù)據(jù)庫的外鍵約束的相關(guān)資料,文中通過示例代碼介紹的非常詳細(xì),需要的朋友可以參考借鑒,下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧...
Windows10系統(tǒng)下MariaDB數(shù)據(jù)庫安裝教程圖解
文章給大家介紹Windows10系統(tǒng)下安裝MariaDB 的教程圖解,感興趣的朋友一起看看吧,MariaDB由MySQL的創(chuàng)始人麥克爾·維德紐斯主導(dǎo)開發(fā),...
Mysql數(shù)據(jù)庫大表優(yōu)化方案和Mysql大表優(yōu)化步驟
當(dāng)MySQL單表記錄數(shù)過大時(shí),增刪改查性能都會(huì)急劇下降,可以參考以下步驟來優(yōu)化。單表優(yōu)化 除非單表數(shù)據(jù)未來會(huì)一直不斷上漲,否則不要一開始就考慮拆分,拆分會(huì)帶來邏輯、部...
Mysql數(shù)據(jù)庫創(chuàng)建存儲(chǔ)過程實(shí)現(xiàn)往數(shù)據(jù)表中新增字段的方法
本文實(shí)例講述了mysql創(chuàng)建存儲(chǔ)過程實(shí)現(xiàn)往數(shù)據(jù)表中新增字段的方法,結(jié)合實(shí)例形式對(duì)比分析了通過存儲(chǔ)過程新增字段相關(guān)操作技巧,需要的朋友可以參考下。...
Mysql數(shù)據(jù)庫自定義函數(shù)的定義、使用方法及操作注意事項(xiàng)
文章主要介紹了MySQL自定義函數(shù)簡(jiǎn)單用法,結(jié)合實(shí)例形式分析了mysql自定義函數(shù)的基本定義、使用方法及操作注意事項(xiàng),需要的朋友可以參考下。...
Mysql數(shù)據(jù)庫的max_allowed_packet設(shè)定方法
小編為大家分享一篇關(guān)于Mysql的max_allowed_packet設(shè)定,小編覺得內(nèi)容挺不錯(cuò)的,現(xiàn)在分享給大家,具有很好的參考價(jià)值,需要的朋友一起跟隨小編來看看吧...
Mysql數(shù)據(jù)庫亂碼出現(xiàn)的各個(gè)階段以及對(duì)應(yīng)方法
MySQL中數(shù)據(jù)庫亂碼一般進(jìn)行字符集的設(shè)定即可,但是亂碼可以出現(xiàn)在各個(gè)階段,所以這篇文章整理一下亂碼出現(xiàn)的各個(gè)階段以及對(duì)應(yīng)方法。...
MySQL數(shù)據(jù)庫的事務(wù)處理用法與實(shí)例代碼詳解
文章主要介紹了mysql事務(wù)處理用法與實(shí)例代碼詳解,詳細(xì)的介紹了事物的特性和用法并實(shí)現(xiàn)php和mysql事務(wù)處理例子,非常具有實(shí)用價(jià)值,需要的朋友可以參考下...