You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by chihi asma <ch...@yahoo.fr> on 2009/11/26 11:44:15 UTC

Bundle Threads

Hi,

Can anyone tell me please how can I know how much a bundle executes threads when it starts?
When I type "ps" command in my linux console I see multiple threads related to the JVM.
How can I know each thread belongs to each bundle.
Thanks in advance for your help.

Asma



      

Re: Bundle Threads

Posted by Guo Du <mr...@gmail.com>.
On Thu, Nov 26, 2009 at 12:31 PM, chihi asma <ch...@yahoo.fr> wrote:
> In lunix, when I want to see system process, I type "ps", among thoses processes there is java ones, (I'm executing felix) so to which bundle belong those java process?
Some background reading:
http://java.sun.com/docs/books/tutorial/essential/concurrency/procthread.html

The answer is there is no bundle/thread map to process. Thread may
running by some osgi bundle, all bundle/threads are inside the java
process.

-Guo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Bundle Threads

Posted by chihi asma <ch...@yahoo.fr>.
In lunix, when I want to see system process, I type "ps", among thoses processes there is java ones, (I'm executing felix) so to which bundle belong those java process?
Thanks

--- En date de : Jeu 26.11.09, Guo Du <mr...@gmail.com> a écrit :

De: Guo Du <mr...@gmail.com>
Objet: Re: Bundle Threads
À: users@felix.apache.org
Date: Jeudi 26 Novembre 2009, 12h09

On Thu, Nov 26, 2009 at 10:44 AM, chihi asma <ch...@yahoo.fr> wrote:
> Can anyone tell me please how can I know how much a bundle executes threads when it starts?
> When I type "ps" command in my linux console I see multiple threads related to the JVM.
Where you typed "ps"?

It doesn't matter where you type "ps" in LINUX shell or FELIX shell,
there is nothing related to threads. What exact threads you mean:
operation system process, osig bundle or java thread?

-Guo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org




      

Re: Bundle Threads

Posted by Guo Du <mr...@gmail.com>.
On Thu, Nov 26, 2009 at 10:44 AM, chihi asma <ch...@yahoo.fr> wrote:
> Can anyone tell me please how can I know how much a bundle executes threads when it starts?
> When I type "ps" command in my linux console I see multiple threads related to the JVM.
Where you typed "ps"?

It doesn't matter where you type "ps" in LINUX shell or FELIX shell,
there is nothing related to threads. What exact threads you mean:
operation system process, osig bundle or java thread?

-Guo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org