mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2019-12-06, 06:07   #1
Caboose700
 
Caboose700's Avatar
 
Jun 2019

3 Posts
Default Command-Line Multi-Client GIMPS Monitor

Hey everyone! This is my first post here on the forums, but I've been aware of GIMPS for quite a while and while I've been Distributed Computing since 2012 (not very long compared to many here) I'm relatively new to GIMPS.

Having previously used BOINC for most of this time, I was used to being able to check out the status of all the other computers that I controlled, and see how far along they were in their workunits. Prime95 doesn't have a mechanism to monitor the progress of multiple machines (or at least I never managed to find one) so I decided to make a small Python program to do just that.

This is the first program I've ever publicly released, so I know the repository is probably not structured in a professional fashion, but I've tried to explain as much as I could about the program in the README, along with how to use it. The program does require Python 2.

Basically, there is a client and server script, the client script runs on each machine you have running Prime95 and want to monitor. Every so often (configurable), the program will read the checkpoint file generated by Prime95, and send the progress and iteration count to the server script, which will display the progress in a nice little table.

This program only is able to read LL and PRP tests (along with LL-DC and PRP-DC), as these are the only tests that I personally run, but feel free to make any modifications, or take the idea and run with it (it's certainly not original and probably not the best code base, but hey it works!)

If this sounds at all interesting to any one here, feel free to checkout the repository at https://github.com/Caboose700/gimps-monitor
Caboose700 is offline   Reply With Quote
Old 2019-12-06, 07:38   #2
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

23·232 Posts
Default

Quote:
Originally Posted by Caboose700 View Post
Hey everyone! This is my first post here on the forums, but I've been aware of GIMPS for quite a while and while I've been Distributed Computing since 2012 (not very long compared to many here) I'm relatively new to GIMPS.

Having previously used BOINC for most of this time, I was used to being able to check out the status of all the other computers that I controlled, and see how far along they were in their workunits. Prime95 doesn't have a mechanism to monitor the progress of multiple machines (or at least I never managed to find one) so I decided to make a small Python program to do just that.
Welcome.
I hope you had fun coding.
See https://www.mersenne.org/cpus/ for primenet-connected prime95/mprime instances including cloud-computing-based runs. It only shows status of one of n workers on any given system.

Last fiddled with by kriesel on 2019-12-06 at 07:56
kriesel is online now   Reply With Quote
Old 2019-12-06, 09:34   #3
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

72·59 Posts
Default

You can also monitor your assignments in this view:
https://www.mersenne.org/workload/
ATH is offline   Reply With Quote
Old 2019-12-06, 18:59   #4
Caboose700
 
Caboose700's Avatar
 
Jun 2019

3 Posts
Default

Thanks for the welcomes!


I was aware of the ability to monitor the system's using the web portal, but the problem with this that I found was that the clients only update their information via the web portal every 24 hours (I know this is configurable but as far as I was able to tell 24 hours is the minimum amount of time to check in). The reason I wrote this tool was to get a more "up-to-date" reading, by having the clients check into the server script every 30 minutes.
Caboose700 is offline   Reply With Quote
Old 2019-12-07, 01:53   #5
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

100000111000012 Posts
Default

Quote:
Originally Posted by Caboose700 View Post
clients only update their information via the web portal every 24 hours (I know this is configurable but as far as I was able to tell 24 hours is the minimum amount of time to check in).
You can go down to 0.125 days (every 3 hours.)
Chris (chalsall) monitors all of his machines by having them proxy through a central machine of his. He does this to monitor the health of the machines that he deploys to clients.
Attached Thumbnails
Click image for larger version

Name:	temp.jpg
Views:	39
Size:	70.4 KB
ID:	21405  
Uncwilly is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command line options Gerard Information & Answers 12 2019-07-31 05:30
Mail from command line pepi37 Linux 4 2015-07-16 22:06
Windows command line mu5tan6 Software 14 2015-03-20 17:21
command line switch wongnog Information & Answers 1 2008-07-20 11:29
NewPGen from the command line monst Software 19 2008-01-31 07:07

All times are UTC. The time now is 19:15.

Tue Aug 11 19:15:27 UTC 2020 up 25 days, 15:02, 2 users, load averages: 1.51, 1.60, 1.66

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.