ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 15 Aug 2018 11:48:29 -0500How could I notice that a SAGE program is running?http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/ I am new on SAGE. When I run a time consuming algorithm using sage on Jupyter, there is no sign on Jupyter command window showing the program is still running. I only should wait until the results appear on the Jupyter command line.
Is there a way I could be noticed if something is still running by sage or not? Sun, 15 Jul 2018 06:20:48 -0500http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/Comment by Iguananaut for <p>I am new on SAGE. When I run a time consuming algorithm using sage on Jupyter, there is no sign on Jupyter command window showing the program is still running. I only should wait until the results appear on the Jupyter command line.
Is there a way I could be noticed if something is still running by sage or not? </p>
http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?comment=43032#post-id-43032Could you be more specific? What exactly is the code you're trying to run, and in what interface are you running it? Did you enter some code in the notebook? I would suggest looking up tutorials on how to use the Jupyter notebook. If you want to see if your code is, say, using the CPU open the Windows Task Manager and just sort processes by CPU usage. Sage will show up as a `python2.7` process since Sage is written in Python.Mon, 16 Jul 2018 04:48:54 -0500http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?comment=43032#post-id-43032Answer by eric_g for <p>I am new on SAGE. When I run a time consuming algorithm using sage on Jupyter, there is no sign on Jupyter command window showing the program is still running. I only should wait until the results appear on the Jupyter command line.
Is there a way I could be noticed if something is still running by sage or not? </p>
http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?answer=43385#post-id-43385In the Jupyter notebook, you can see that Sage is running by looking at the small circle at the right of "SageMath 8.3" in the right part of the header bar: if the circle is filled, then Sage is running.Wed, 15 Aug 2018 11:48:29 -0500http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?answer=43385#post-id-43385Answer by pizza for <p>I am new on SAGE. When I run a time consuming algorithm using sage on Jupyter, there is no sign on Jupyter command window showing the program is still running. I only should wait until the results appear on the Jupyter command line.
Is there a way I could be noticed if something is still running by sage or not? </p>
http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?answer=43384#post-id-43384If you are using Cocalc, you will see a green or blue bar when a programme is running.Wed, 15 Aug 2018 03:06:53 -0500http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?answer=43384#post-id-43384Answer by tmonteil for <p>I am new on SAGE. When I run a time consuming algorithm using sage on Jupyter, there is no sign on Jupyter command window showing the program is still running. I only should wait until the results appear on the Jupyter command line.
Is there a way I could be noticed if something is still running by sage or not? </p>
http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?answer=43023#post-id-43023From a terminal, you can type:
top
or
htop
you will see the activity of the processors.
Sun, 15 Jul 2018 06:31:14 -0500http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?answer=43023#post-id-43023Comment by Iguananaut for <p>From a terminal, you can type:</p>
<pre><code>top
</code></pre>
<p>or</p>
<pre><code>htop
</code></pre>
<p>you will see the activity of the processors.</p>
http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?comment=43033#post-id-43033They're running on Windows.Mon, 16 Jul 2018 04:49:06 -0500http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?comment=43033#post-id-43033Comment by ASH for <p>From a terminal, you can type:</p>
<pre><code>top
</code></pre>
<p>or</p>
<pre><code>htop
</code></pre>
<p>you will see the activity of the processors.</p>
http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?comment=43027#post-id-43027Sorry, I am new on SAGE. Running SAGE, I have tow windows; one for Sage 8.2 Notebook Server and the other for Jupyter. Nothing happens when I type top or htop on the first window. When I type that on Jupyter command window I see this:
<function top at 0x6fffbe307d0>
I still do not know if sage is running the algorithm or not.Sun, 15 Jul 2018 20:00:06 -0500http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?comment=43027#post-id-43027Comment by ASH for <p>From a terminal, you can type:</p>
<pre><code>top
</code></pre>
<p>or</p>
<pre><code>htop
</code></pre>
<p>you will see the activity of the processors.</p>
http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?comment=43024#post-id-43024What do you mean by terminal?
Sorry I am a beginner.Sun, 15 Jul 2018 07:23:09 -0500http://ask.sagemath.org/question/43021/how-could-i-notice-that-a-sage-program-is-running/?comment=43024#post-id-43024