Process browser: next generation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Process browser: next generation

abergel
Hello!

We are currently working on a new process browser (codename: Loom). You have probably noticed that the Process Browser is not exactly the tool you want to use to understand how processes behave. The process browser may be one of the oldest piece of Pharo code that has not been touched for a long long time.

We are going toward something that looks like the Activity Monitor (e.g., [*]), useful to find out which programs is heating up your laptop. We will have nice curves that shows you the CPU consumption. Something that the process browser has never been able to do.

What are the features you would like to see in it?

Cheers,
Alexandre

[*] http://media.tumblr.com/tumblr_lb4161Ehpr1qarbgx.png

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

philippeback
An ability to jump to the process code right away.


2012/9/6 Alexandre Bergel <[hidden email]>:

> Hello!
>
> We are currently working on a new process browser (codename: Loom). You have probably noticed that the Process Browser is not exactly the tool you want to use to understand how processes behave. The process browser may be one of the oldest piece of Pharo code that has not been touched for a long long time.
>
> We are going toward something that looks like the Activity Monitor (e.g., [*]), useful to find out which programs is heating up your laptop. We will have nice curves that shows you the CPU consumption. Something that the process browser has never been able to do.
>
> What are the features you would like to see in it?
>
> Cheers,
> Alexandre
>
> [*] http://media.tumblr.com/tumblr_lb4161Ehpr1qarbgx.png
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

Mariano Martinez Peck
In reply to this post by abergel


On Thu, Sep 6, 2012 at 12:22 AM, Alexandre Bergel <[hidden email]> wrote:
Hello!

We are currently working on a new process browser (codename: Loom). You have probably noticed that the Process Browser is not exactly the tool you want to use to understand how processes behave. The process browser may be one of the oldest piece of Pharo code that has not been touched for a long long time.

We are going toward something that looks like the Activity Monitor (e.g., [*]), useful to find out which programs is heating up your laptop. We will have nice curves that shows you the CPU consumption. Something that the process browser has never been able to do.

What are the features you would like to see in it?

Have a working CPUWatcher 
 

Cheers,
Alexandre

[*] http://media.tumblr.com/tumblr_lb4161Ehpr1qarbgx.png

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.







--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

abergel
> What are the features you would like to see in it?
>
> Have a working CPUWatcher

Did it work on some point? I read the documentation but could not find out how to give a meaning to it. Looks like a half-finished thing.

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

abergel
In reply to this post by philippeback
Ok, this is indeed the first thing you want

Alexandre


On Sep 5, 2012, at 7:51 PM, [hidden email] wrote:

> An ability to jump to the process code right away.
>
>
> 2012/9/6 Alexandre Bergel <[hidden email]>:
>> Hello!
>>
>> We are currently working on a new process browser (codename: Loom). You have probably noticed that the Process Browser is not exactly the tool you want to use to understand how processes behave. The process browser may be one of the oldest piece of Pharo code that has not been touched for a long long time.
>>
>> We are going toward something that looks like the Activity Monitor (e.g., [*]), useful to find out which programs is heating up your laptop. We will have nice curves that shows you the CPU consumption. Something that the process browser has never been able to do.
>>
>> What are the features you would like to see in it?
>>
>> Cheers,
>> Alexandre
>>
>> [*] http://media.tumblr.com/tumblr_lb4161Ehpr1qarbgx.png
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

Sean P. DeNigris
Administrator
Alexandre Bergel-7 wrote
Ok, this is indeed the first thing you want

On Sep 5, 2012, at 7:51 PM, [hidden email] wrote:
> An ability to jump to the process code right away.
Yes, that would be super cool!
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

Goubier Thierry
Le 06/09/2012 16:16, Sean P. DeNigris a écrit :

>
> Alexandre Bergel-7 wrote
>>
>> Ok, this is indeed the first thing you want
>>
>> On Sep 5, 2012, at 7:51 PM, phil@ wrote:
>>> An ability to jump to the process code right away.
>>
>
> Yes, that would be super cool!

Isn't that the case in the current process browser ?

Or do you mean something like forcing a breakpoint in a currently
running process ?

  ( It would be cool to breakpoint like that the main UI process... :)).

Thierry

>
>
>
> --
> View this message in context: http://forum.world.st/Process-browser-next-generation-tp4646267p4646408.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
>
>


--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95

Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

Sean P. DeNigris
Administrator
Goubier Thierry wrote
Or do you mean something like forcing a breakpoint in a currently
running process ?
Yes, exactly :)
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

philippeback
In reply to this post by Goubier Thierry
Main UI process and a haltOnce would indeed be great instead of the current kata.

2012/9/6 Goubier Thierry <[hidden email]>
Le 06/09/2012 16:16, Sean P. DeNigris a écrit :

Alexandre Bergel-7 wrote

Ok, this is indeed the first thing you want

On Sep 5, 2012, at 7:51 PM, phil@ wrote:
An ability to jump to the process code right away.


Yes, that would be super cool!

Isn't that the case in the current process browser ?

Or do you mean something like forcing a breakpoint in a currently running process ?

 ( It would be cool to breakpoint like that the main UI process... :)).

Thierry




--
View this message in context: http://forum.world.st/Process-browser-next-generation-tp4646267p4646408.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.





--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95


Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

Goubier Thierry
In reply to this post by Sean P. DeNigris
Le 06/09/2012 16:29, Sean P. DeNigris a écrit :
>
> Goubier Thierry wrote
>>
>> Or do you mean something like forcing a breakpoint in a currently
>> running process ?
>>
>
> Yes, exactly :)

Well, it would make up, in some cases, for the fact the "emergency"
interrupt key doesn't work (in 1.3, 1.4 and 2.0 all versions under Linux).

Thierry
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95

Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

Sean P. DeNigris
Administrator
Goubier Thierry wrote
Well, it would make up, in some cases, for the fact the "emergency"
interrupt key doesn't work (in 1.3, 1.4 and 2.0 all versions under Linux).
Except that you wouldn't be able to open the browser, no? IIRC Igor had some ideas about more robust interrupt behavior... ah, yes, here it is...
Issue 4608: [ENH]: More robust user interrupt
http://code.google.com/p/pharo/issues/detail?id=4608

Cheers,
Sean
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

Goubier Thierry
In reply to this post by philippeback
Le 06/09/2012 16:31, [hidden email] a écrit :
> Main UI process and a haltOnce would indeed be great instead of the
> current kata.

I'd be a lot safer if I could "trace" the main UI process instead of
blocking it.

Maybe block it, kill it (keep the stack) and restart a new one
immediately (in a safe UI context with say just the debugger open) so
that I can explore the current state and eventually let it proceed.

-- Remote debug from another Pharo image ?

Thierry

> 2012/9/6 Goubier Thierry <[hidden email]
> <mailto:[hidden email]>>
>
>     Le 06/09/2012 16:16, Sean P. DeNigris a écrit :
>
>
>         Alexandre Bergel-7 wrote
>
>
>             Ok, this is indeed the first thing you want
>
>             On Sep 5, 2012, at 7:51 PM, phil@ wrote:
>
>                 An ability to jump to the process code right away.
>
>
>
>         Yes, that would be super cool!
>
>
>     Isn't that the case in the current process browser ?
>
>     Or do you mean something like forcing a breakpoint in a currently
>     running process ?
>
>       ( It would be cool to breakpoint like that the main UI process... :)).
>
>     Thierry
>
>
>
>
>         --
>         View this message in context:
>         http://forum.world.st/Process-__browser-next-generation-__tp4646267p4646408.html
>         <http://forum.world.st/Process-browser-next-generation-tp4646267p4646408.html>
>         Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
>
>
>
>
>     --
>     Thierry Goubier
>     CEA list
>     Laboratoire des Fondations des Systèmes Temps Réel Embarqués
>     91191 Gif sur Yvette Cedex
>     France
>     Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
>
>


--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95

Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

Mariano Martinez Peck
In reply to this post by abergel


On Thu, Sep 6, 2012 at 3:54 PM, Alexandre Bergel <[hidden email]> wrote:
> What are the features you would like to see in it?
>
> Have a working CPUWatcher

Did it work on some point?

Yes.
 
I read the documentation but could not find out how to give a meaning to it.

The idea is that you can enable a process who's goal is to watch the CPU usage and if it goes over, say 80%, then it halts and tries to stop that process. It is useful when there is an infinitive loop or something like that. 
 
Looks like a half-finished thing.

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.







--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: Process browser: next generation

abergel
Thanks to you all for your feedback!!

Cheers,
Alexandre


On Sep 7, 2012, at 6:40 AM, Mariano Martinez Peck <[hidden email]> wrote:

>
>
> On Thu, Sep 6, 2012 at 3:54 PM, Alexandre Bergel <[hidden email]> wrote:
> > What are the features you would like to see in it?
> >
> > Have a working CPUWatcher
>
> Did it work on some point?
>
> Yes.
>  
> I read the documentation but could not find out how to give a meaning to it.
>
> The idea is that you can enable a process who's goal is to watch the CPU usage and if it goes over, say 80%, then it halts and tries to stop that process. It is useful when there is an infinitive loop or something like that.
>  
> Looks like a half-finished thing.
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.