Notebooks: Show running vs. calculating sheets

66 views
Skip to first unread message

Jori Mantysalo

unread,
Apr 15, 2014, 7:19:31 AM4/15/14
to sage-...@googlegroups.com
After logging into sage one sees what sheets are "running", i.e. that have
data in memory so that user can just continue doing something.

However, is it possible to add some way to see "really running" sheets,
i.e. those that are actually calculating something? At least for admin
this would be nice feature when figuring out good time for booting server.

--
Jori Mäntysalo

John Cremona

unread,
Apr 15, 2014, 8:30:01 AM4/15/14
to SAGE devel
I have been wanting to know this for several years! Luckily on my
notebook server there are only a few users, so I just email them all
to ask if they are really running anything. Even that is not as easy
as it should be, since they are required to provide an email address
when they make an account, but I have never found a way to email all
users.

One thing you can do is run top on your server: assuming that all
notebooks are running under the account with username sage, you can
look to see if any processes owned by sage are using a non-trivial
amount of CPU. If not, you can go ahead and restart the server with a
small chance of annoying some of your users...

John

> --
> Jori Mäntysalo
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

Jori Mantysalo

unread,
Apr 15, 2014, 8:50:04 AM4/15/14
to SAGE devel
On Tue, 15 Apr 2014, John Cremona wrote:

> One thing you can do is run top on your server: assuming that all
> notebooks are running under the account with username sage, you can
> look to see if any processes owned by sage are using a non-trivial
> amount of CPU. If not, you can go ahead and restart the server with a
> small chance of annoying some of your users...

Yes, I have done this too.

Actually Sage needs few more tweaks from admin viewpoint. There should be
easy way to notify users about coming reboot, something that
shutdown-command on Linux can do for command line users.

Also just logging in as admin is quite slow when there is, say, few
hundred worksheets.

And then removing users should be possible.

--
Jori Mäntysalo

P Purkayastha

unread,
Apr 16, 2014, 4:24:29 AM4/16/14
to sage-...@googlegroups.com
Some of these concerns are already addressed in cloud.sagemath. The current notebook is very much in maintenance stage at present.

mmarco

unread,
Apr 16, 2014, 5:49:28 AM4/16/14
to sage-...@googlegroups.com
So, what is the plan for the future? Switch from the current notebook to something like the cloud interface? Will William release that part under the GPL? 

P Purkayastha

unread,
Apr 16, 2014, 5:54:57 AM4/16/14
to sage-...@googlegroups.com

Yes. There was some discussion about this in either sage-devel  or sage-notebook.

--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/jCpoFD62xG8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.

kcrisman

unread,
Apr 16, 2014, 8:52:25 PM4/16/14
to sage-...@googlegroups.com


On Wednesday, April 16, 2014 5:54:57 AM UTC-4, P Purkayastha wrote:

Yes. There was some discussion about this in either sage-devel  or sage-notebook.

On Apr 16, 2014 5:49 PM, "mmarco" <mma...@unizar.es> wrote:
So, what is the plan for the future? Switch from the current notebook to something like the cloud interface? Will William release that part under the GPL? 


But that is somewhat down the road still, as first the cloud has to be stable and fit in its current incarnation, and that is William's top priority.  Help on doing things with the notebook certainly is appreciated in the meantime. 

William Stein

unread,
Apr 16, 2014, 9:14:14 PM4/16/14
to sage-devel
On Wed, Apr 16, 2014 at 5:52 PM, kcrisman <kcri...@gmail.com> wrote:
>
>
> On Wednesday, April 16, 2014 5:54:57 AM UTC-4, P Purkayastha wrote:
>>
>> Yes. There was some discussion about this in either sage-devel or
>> sage-notebook.
>>
>> On Apr 16, 2014 5:49 PM, "mmarco" <mma...@unizar.es> wrote:
>>>
>>> So, what is the plan for the future? Switch from the current notebook to
>>> something like the cloud interface?
>
>
>
> But that is somewhat down the road still, as first the cloud has to be
> stable and fit in its current incarnation, and that is William's top
> priority.

Correct.

>>>Will William release that part under the GPL?

Yes, but I'll use the BSD license, not GPL.

> Help on doing things with the notebook certainly is appreciated
> in the meantime.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.



--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
Reply all
Reply to author
Forward
0 new messages