mersenneforum.org  

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

Reply
 
Thread Tools
Old 2005-09-12, 04:43   #1
crash893
 
crash893's Avatar
 
Sep 2002

23·37 Posts
Default how to tell if prime is running on a remote computer

if you can only access network drives of a computer is there a way to see if its currnetly running

i am takeing a programing class and why not turn my homework into something usefull.

is there a file i can read or soemthing to parse out a running or not running status?
crash893 is offline   Reply With Quote
Old 2005-09-12, 07:13   #2
Numbers
 
Numbers's Avatar
 
Jun 2005
Near Beetlegeuse

22×97 Posts
Default

You can try looking in a file called prime.log, this is a record of the programmes connections to the server and the messages it sends. But it may of course go up to 28 days or so between connections. Other than this I'm afraid I don't know of a way for you to tell unless you can access task manager across the network.
Numbers is offline   Reply With Quote
Old 2005-09-12, 07:30   #3
PhilF
 
PhilF's Avatar
 
"6800 descendent"
Feb 2005
Colorado

10101010102 Posts
Default

I always just look at the date and time of the save files. I have Prime95 configured to write to disk every 10 minutes, so if the save files are under 20 minutes old then I know Prime95 is running.
PhilF is offline   Reply With Quote
Old 2005-09-12, 07:30   #4
Citrix
 
Citrix's Avatar
 
Jun 2003

5×317 Posts
Default

You can make prime95 write to disc every 30 min. Then log on to the network drive and see the time at which the folder was modified. This will let you know with the accuracy of 30 min.

Citrix
Citrix is offline   Reply With Quote
Old 2005-09-12, 08:44   #5
PhilF
 
PhilF's Avatar
 
"6800 descendent"
Feb 2005
Colorado

2×11×31 Posts
Default

Citrix,

Great Minds think alike! And in unison too...
PhilF is offline   Reply With Quote
Old 2005-09-12, 13:26   #6
Peter Nelson
 
Peter Nelson's Avatar
 
Oct 2004

232 Posts
Question

A more useful but similar project may be.....

Create some software which runs on a client machine and periodically (maybe 10 minute intervals) will send a request to the primenet server. This request could be the same packet the prime95 client sends when you invoke the Help About Primenet Server (or equivalent in Linux menu version). You can analyse the traffic using some tool like ethereal and then replicate it. If the primenet server is serving then it will respond with the server version and if not, your network comms will timeout. The software should collate these responses over time and archive them locally. When there is a TRANSITION from UP to DOWN it should display this, and optionally email (the software's user) and/or George Woltman either "The service has gone down" or "Great it's back". A further refinement would be to load historical data, and calculate a % of uptime over a given period. Producing this stuff in HTML browser pages would be a bonus.

I think this would be a good project for you as it is
a) not incredibly difficult
b) exposes you to some standard technologies (and coding them) eg SMTP
c) would benefit the end user community in troubleshooting
d) would benefit the GIMPS search by helping to maximise server uptime.

This is the sort of thing I would write myself if I had the spare time.
Peter Nelson is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
adding a computer running mprime Unregistered Information & Answers 14 2009-02-16 14:01
Running factoring on one computer Unregistered PrimeNet 11 2005-07-09 04:38
running mprime on a computer I do not own happyraul Software 4 2004-05-06 15:54
Running Prime on High Performance Computer Clustering fxmulder Software 5 2003-11-20 22:42
computer seems to LAg when Prime95 is running Firedog18 Hardware 2 2003-07-25 22:03

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


Sat Dec 4 19:26:59 UTC 2021 up 134 days, 13:55, 1 user, load averages: 0.93, 0.99, 1.03

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.