mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   how to tell if prime is running on a remote computer (https://www.mersenneforum.org/showthread.php?t=4662)

crash893 2005-09-12 04:43

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?

Numbers 2005-09-12 07:13

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.

PhilF 2005-09-12 07:30

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.

Citrix 2005-09-12 07:30

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

PhilF 2005-09-12 08:44

Citrix,

Great Minds think alike! And in unison too... :smile:

Peter Nelson 2005-09-12 13:26

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.


All times are UTC. The time now is 03:21.

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