Discovered today that 'tasklist' is the XP equivalent of ps. Just in case
anyone is interested :)

Hen

On Wed, 17 Mar 2004, Gary Gregory wrote:

> AFAIK, there is no JRE API to support doing this directly. This is
> something you'd expects to see in java.lang.System or Runtime.
>
> You might want to google for any JNI based library code that uses OS
> APIs to do this.
>
> A quick and dirty solution would be to use j.l.System to execute OS
> specific script calls like "ps" for *NIX and capture the console output
> and parse that. Not fun.
>
> Gary
>
> > -----Original Message-----
> > From: Muhammad Uzair Baig [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 17, 2004 13:26
> > To: [EMAIL PROTECTED]
> > Subject: sytem task
> >
> > Hello
> >
> >         I want to detect all the current system task running on the
> system
> > using java code please give me any guide fot that.
> >
> > Thank You
> > Uzair
> >
> > Do you Yahoo!?
> > Yahoo! Mail - More reliable, more storage, less spam
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to