19
$\begingroup$

Since I have 4 cores on my machine I typically have 4 notebooks open each with their own kernel evaluator. I'd like to construct a dynamic pane similar to the parallel kernels status window:

enter image description here

But that collects a few statistics of all them:

  • evaluation queue size
  • cpu/gpu memory in use over time
  • virtual memory in use
  • uptime
  • status

Here's how I get the names of the ones in use, but I'm unsure of how to query for further details:

n = Notebooks[]
Union[CurrentValue[#, "Evaluator"] & /@ n]

enter image description here

$\endgroup$
  • $\begingroup$ Much of the desired information is available from TaskManager on Windows, and I imagine that MAC OS has a similar program. The question, then, is how to capture that information periodically and display it in a Mathematic table. Here are two links 1 2 that may provide hints, although they do not solve the problem. $\endgroup$ – bbgodfrey Aug 21 '16 at 21:32
  • $\begingroup$ By the way, if you obtain an answer, please publish it. Good question (+1). $\endgroup$ – bbgodfrey Aug 21 '16 at 21:43
  • $\begingroup$ Note that this is likely going to have to be an FE process. I don't think the kernels track each other. $\endgroup$ – b3m2a1 Aug 17 '17 at 6:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.