1748180 Members
4115 Online
108759 Solutions
New Discussion юеВ

Re: Killing emagent ?

 
SOLVED
Go to solution
kpatel786
Frequent Advisor

Killing emagent ?

I have following emagents running on my hp box

ps -ef |grep emagent
oracle 28709 1 0 Mar 23 ? 521:03 /u01/app/oracle/product/10.1.0/db_1/bin/emagent
oracle 22124 1 0 Feb 27 ? 84:05 /u01/app/oracle/product/10.1.0/db_1/bin/emagent
root 14658 4135 0 09:50:44 pts/3 0:00 grep emagent
oracle 13023 12563 0 15:59:02 ? 0:18 /u01/app/oracle/product/10.1.0/db_1/bin/emagent
oracle 7779 7118 0 May 1 ? 5:12 /u01/app/oracle/product/10.1.0/db_1/bin/emagent
oracle 8248 7745 0 15:38:23 ? 0:19 /u01/app/oracle/product/10.1.0/db_1/bin/emagent
oracle 19922 19338 0 May 1 ? 4:49 /u01/app/oracle/product/10.1.0/db_1/bin/emagent

What are these processes?
Can I kill the processes with ppid 1 ?


Thanking you in advance?
4 REPLIES 4
smatador
Honored Contributor
Solution

Re: Killing emagent ?

Hi,
emagent is the agent of oracle entreprise manager
go to su - oracle and
emctl status agent to check it
you could after do
emctl stop agent
emctl start agent
Don't kill of course 1 just kill 28709 and 22124.
Hope it helps
Ganesan R
Honored Contributor

Re: Killing emagent ?

Hi,

>>Can I kill the processes with ppid 1 ?<<

Are you aware that pid 1 is init process? Don't attempt to kill init process.


Best wishes,

Ganesh.
Dennis Handly
Acclaimed Contributor

Re: Killing emagent ?

>Ganesan: Are you aware that pid 1 is init process? Don't attempt to kill init process.

kpatel786 said PPID, not PID.
And you can't kill init, not that I suggest you try. kill(2) says:
pid can equal 1 unless sig is SIGKILL or SIGSTOP.
kpatel786
Frequent Advisor

Re: Killing emagent ?

Thanks all for your reply. I was not intending to kill init process. I was asking about the process 28709 and 22124.