Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: oradim - return codes??
Hans Forbrich <forbrich_at_yahoo.net> wrote in message news:<XCp1d.5019$KU5.4941_at_edtnps89>...
> Joel Garry wrote:
>
> > Hans Forbrich <forbrich_at_yahoo.net> wrote in message
> > news:<ki81d.202145$X12.27768_at_edtnps84>...
> >> Gerry Sinkiewicz wrote:
> >>
> >> >
> >> > "David" <goshengoogle_at_yahoo.com> wrote in message
> >> > news:c6a42c32.0409080726.2ed43d0b_at_posting.google.com...
> >> >> I am executing 'oradim' from Java code 9using the system runtime
> >> >> package) to stop and start a 9.2.0.5 database instance. I would like
> >> >> to capture the return code from oradim to determine the success or
> >> >> failure of the command. I can find no documentation on return/status
> >> >> codes. Can anyone help with this? Thank you.
> >> >>
> >> >
> >> > It might be better to just check if the DB is running.
> >> >
> >> > grep for smon from a ps -ef.
> >>
> >> Curiosity gets the better of me ... oradim on the same machine as 'ps
> >> -ef'? (Pls explain!)
> >
> > http://www.research.att.com/sw/tools/uwin/download.html
> >
> > jg
> > --
> > @home.com is bogus.
> > :-]
>
> Haven't tried uwin .... does ps interact with the Windows-originated
> processes? Can you see smon?
I don't remember, the last time I looked at that stuff was the last century. I doubt it. But I'm always complaining about not having grep :-)
I'm a big fan of doing things natively, and complaining about Windows. Which is funny, because when I start at a site I'll put some amount of work into making .profile or whatever just to my taste, but won't add a whole lot to a Windows box - eventually I'm always forced to go to sysinternals.com to get tools to prove SMS is screwing up my cpu usage or whatever. I really oughta just make it a habit of giving myself a korn shell and telling customers to live with it, they need POSIX.2 conformity. But I'm a wuss, and don't want to argue with MS-biased IS managers about downloads.
jg
-- @home.com is bogus. http://news.com.com/'Open+Source+Solaris'+to+debut+this+year/2100-7344_3-5364052.htmlReceived on Tue Sep 14 2004 - 17:39:03 CDT
![]() |
![]() |