zoukankan      html  css  js  c++  java
  • Linux中结束oracle 进程

    查看所有oracle进程的PID:

    #ps -ef|grep ora

     [oracle@db ~]$ ps -ef|grep ora
    root     23544 23514  0 11:25 pts/3    00:00:00 su - oracle
    oracle   23545 23544  0 11:25 pts/3    00:00:00 -bash
    oracle   23589     1  0 11:33 ?        00:00:02 /DBSoftware/app/oracle/product/10.2.0/db_1/bin/tnslsnr LISTENER -inherit
    oracle   26793     1  0 11:35 ?        00:00:00 ora_pmon_PORTAL
    oracle   26795     1  0 11:35 ?        00:00:00 ora_psp0_PORTAL
    oracle   26797     1  0 11:35 ?        00:00:00 ora_mman_PORTAL
    oracle   26801     1  0 11:35 ?        00:00:00 ora_dbw0_PORTAL
    oracle   26803     1  0 11:35 ?        00:00:00 ora_lgwr_PORTAL
    oracle   26805     1  0 11:35 ?        00:00:00 ora_ckpt_PORTAL
    oracle   26807     1  0 11:35 ?        00:00:00 ora_smon_PORTAL
    oracle   26809     1  0 11:35 ?        00:00:00 ora_reco_PORTAL
    oracle   26811     1  0 11:35 ?        00:00:00 ora_cjq0_PORTAL
    oracle   26813     1  0 11:35 ?        00:00:03 ora_mmon_PORTAL
    oracle   26815     1  0 11:35 ?        00:00:00 ora_mmnl_PORTAL

    例如红色标明这两个就表示该进程的进程ID(PID)

    结束进程 kill -9 PID

    例如:kill -9 26807

  • 相关阅读:
    OleDbCommand 的用法
    递归求阶乘
    C#重写窗体的方法
    HDU 5229 ZCC loves strings 博弈
    HDU 5228 ZCC loves straight flush 暴力
    POJ 1330 Nearest Common Ancestors LCA
    HDU 5234 Happy birthday 01背包
    HDU 5233 Gunner II 离散化
    fast-IO
    HDU 5265 pog loves szh II 二分
  • 原文地址:https://www.cnblogs.com/jifeng/p/1844580.html
Copyright © 2011-2022 走看看