Article View: comp.sys.novell
Article #7773Re: Needed: Small Program to Watch a Network Directory
From: hamish
Date: Sat, 23 May 1992 03:40
Date: Sat, 23 May 1992 03:40
45 lines
3327 bytes
3327 bytes
In article <1992May21.191339.13956@udel.edu>, pyrros@braindamaged.cis.udel.edu (Christos T. Pyrros) writes: > In article <1992May20.232628.12734@cscdec.cs.com> jack@cscdec.cs.com (Jack Hudler) writes: >>In article <1992May20.125512.10622@udel.edu> pyrros@braindamaged.cis.udel.edu (Christos T. Pyrros) writes: >>>I'm not much of a programmer, so I wanted to see if anyone has implemnted >>>this or something like this, or has any tips on how I can implement this >>>in a batch file or something: >>> >>>Program does a directory of f:\login >>>If login.exe exists, wait 10 minutes, go back to beginning >>>If there is a network error send this to COM1: >>>at >>>atdt5551212,,,486911 //This calls a beeper to get my attention! >>>Wait 10 minutes, go back to beginning. >> >>This is an easy thing to do, but I have 1 question. Why is login >>disappearing? > > The idea is that if you can read login.exe the server is probably up, if not > the server is probably down (or a connection is broken, etc). Bzzttt!! Wrong. If you try to read the directory of a network drive with a broken connection you will (By default) get the infamous abort/retry/ignore message. Not very helpful for letting you know. A better way would be for a small program to 'ping' the netware server using the netware diagnostics, and then alert you if it can't. The good thing about this is that its easy., low overhead, and you can do it without the netware shells, and just with the packet drivers (or similar) loaded. You could even do it from a Unix workstation through the networkinterface. (A netware diagnostics broadcast will elicit a response from all netware aware machines, and can be used to map the network, and find which machines are up or down (Including even what OS they are running). ============================================================================== | Hamish Marson <h.marson@waikato.ac.nz> | | Programmer (n/5), School of Computing and Mathematical Sciences | | University of Waikato, | | Hamilton, New Zealand. | |Disclaimer: Anything said in this message is the personal opinion of the | | finger hitting the keyboard & doesn't represent my employers | | opinion in any way. (ie we probably don't agree) | ============================================================================== Q. If Nuclear Tests are so safe, why don't the French do them under Paris?
Technical Details
Message-ID:
<1992May23.154002.8237@waikato.ac.nz>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!hamishReferences:
<1992May20.125512.10622@udel.edu> <1992May20.232628.12734@cscdec.cs.com> <1992May21.191339.13956@udel.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe659,c100da635bbf60ae X-Google-Attributes: gidfe659,public X-Google-Thread: 10f035,c100da635bbf60ae X-Google-Attributes: gid10f035,public X-Google-ArrivalTime: 1992-05-22 15:05:06 PST Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!hamish From: hamish@waikato.ac.nz Newsgroups: comp.sys.novell,bit.listserv.novell Subject: Re: Needed: Small Program to Watch a Network Directory Message-ID: <1992May23.154002.8237@waikato.ac.nz> Date: 23 May 92 15:40:02 +1200 References: <1992May20.125512.10622@udel.edu> <1992May20.232628.12734@cscdec.cs.com> <1992May21.191339.13956@udel.edu> Organization: University of Waikato, Hamilton, New Zealand Lines: 45