stephenbrooks.orgForumMuon1Generalscripting program or another way to combine?
Username: Password:
Search site:
Subscribe to thread via RSS
[us-distributed]Merlin
2006-12-30 06:07:42
I was wondering, I am on a dialup connection with 14 computers in my house and garage networked together.  I can setup a local network share of the dialup, but it is really slow, very slow.  (19.2 - 21.6 at best connection)

I was wondering if there is a way ( not like I do now, connect to each computer and manually copy/paste results ) to combine results files automatically?  A add-on program maybe?

Just thought I would ask.
wmikrut
2006-12-30 07:39:15
Hello Merlin,

I am not sure if this is what you are looking for... but I do use some batch scripts to transfer results from multiple machine to my laptop.  I created a folder named "transfer" in my muon1 directory and created 2 batch files -- "copy_all.bat" and "xfer.bat". Here is the contents of each .bat file


copy_all.bat


@echo off



if exist results.txt goto err



call xfer.bat \\192.168.0.100\SharedDocs\v443d results.100.txt

call xfer.bat \\192.168.0.101\SharedDocs\v443d results.101.txt

call xfer.bat \\192.168.0.102\SharedDocs\v443d results.102.txt

call xfer.bat \\192.168.0.103\SharedDocs\v443d results.103.txt



copy *.txt results.txt

echo "Successfully transferred all the results to results.txt"

goto end



:err

echo "results.txt already exists!"



:end




xfer.bat



if not exist %1\results.txt goto end

copy %1\results.txt %2

del %1\results.txt



:end





copy_all.bat uses 2 parameters to call xfer.bat.  The network location of the file, and the name you would like to copy thr file to locally.  Please keep in mind that if your network location has spaces in it you must surround the location by double quotes... IE:



call xfer.bat "\\192.168.0.100\SharedDocs\Distributed Programs\v443d" results.100.txt




I hope this helps!

--Bill

wmikrut
2006-12-30 07:40:46
PS... Progamming, no problems... spelling that's not a language -- apparently I have difficulty with... go figure! 
laurenu2
2006-12-30 17:57:40
If your using M$ Windows just run network whizzed and share your connection through your network It turns your PC with the connection into a little dns server / router
[us-distributed]Merlin
2006-12-30 19:50:45
laurenu2

I have done the windoze network stuff, but with my dial-up only getting 19.2 - 21.6 connections it takes forever to send files....
The other problem with the network dialup share is that some of my systems are totally remote, no video no keyboard no mouse.
Systems OS's range from Win2000Pro, XP Home, XP Pro.
Am in the process of upgrading all to XP Pro to use remote access.

But the above batch file looks good to try. 

wmikrut

I am going to try your batch file and see how it goes.  Thanks very much.
wmikrut
2006-12-31 00:46:38
Here's another neat little utility named RMIAdmin I found

http://www.rmiadmin.net/en/index.html



I fire up a small java script on each server.. then you can use the admin interface from your control machine to manipulate any of the servers on your network.  I also use it with a utility called Process viewer for windows:

http://www.teamcti.com/pview/prcview.htm


I use it to start/stop muon1 on individual servers when I am installing a new results.dat file.
: contact : - - -
E-mail: sbstrudel characterstephenbrooks.orgTwitter: stephenjbrooksMastodon: strudel charactersjbstrudel charactermstdn.io RSS feed

Site has had 25162339 accesses.