Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle73.exe PID on NT
Ivan Bajon wrote in message <81b6co$ds6$1_at_news.inet.tele.dk>...
>Is there a way to find the PID of the Oracle73.exe from within SQL*Plus or
>Server Manager on WinNT? Let's say I have three instances running and I
want
>to kill one of them via Task Manager. I know that I can do a shutdown abort
>but out of curosity, I'd like to know how to identify the right
Oracle73.exe
>process.
The process id in Oracle on NT is (I think) the number of the thread handle of the process. NT does not have process id's in the sense that Unix has. On Unix it's a fairly simple matter of looking up the Unix PID for an Oracle session and then killing it (even though it safer to rather use the KILL SESSION of Oracle instead).
An easier way of killing a process on NT would be to get the Unix equivalent of the "ps" and "kill" commands for NT. The ps command will show you the thread (process) id, module name and so on. Pretty much the same type of data that you will get from the Unix equivalent. Once you have the thread number, you simply use the kill command on it.
Of course, the ps and kill commands are not standard NT commands. There are however quite a few of them available for NT - simply need to dig for them a bit on the web.
regards,
Billy
Received on Mon Nov 22 1999 - 06:06:28 CST