?
Solved

Fastest way to determine NT machines availability

Posted on 2003-03-19
9
Medium Priority
?
177 Views
Last Modified: 2010-03-18
I want to write a script that will query 25~35 devices to determine if they are on the network or not (up or down).  I'm going over a 56k connection and I would like something that works faster than ping.  Any suggestions?  I'm running XP and boxes I'm interested in are running NT.

thanks in advance,
-Jess
0
Comment
Question by:WishinIwasFishin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 8176723


> that works faster than ping
That's a tall order, but a 32byte ping is much less bandwidth intensive than just about anything else. Take a look at some of the tools available from SolarWinds:
http://www.solarwinds.net
or from Klever
http://www.klever.net

0
 

Author Comment

by:WishinIwasFishin
ID: 8178903
Microsoft doesn't have anything like a netbios response?

0
 
LVL 79

Accepted Solution

by:
lrmoore earned 400 total points
ID: 8180389
C:\>nbtstat /?
C:\>net view /?

not faster than ping, guaranteed.
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 

Author Comment

by:WishinIwasFishin
ID: 8180448
So if nbtstat -a <machine> shows results, I should also be able to ping it right?  

I guess I'm a little unclear on how exactly nbtstat works.  I understand the information it gives me, but not how it goes about getting that information.

However, it is about twice 2 three times fatser than ping!
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 8180548
The reason it could be faster is because it uses a local cache, it does not do a real-time check, so it is not accurate.
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 8180562
If you have a WINS server, it uses information from that server, not direct communications to the individual workstations, only if it can't find anything is cache, WINS, LMHOSTS, hosts, etc, then it will request directly to the IP address, assuming you use the -A <ip address>
0
 

Author Comment

by:WishinIwasFishin
ID: 8180600
How long does the wins server hold onto this information?  hours... days... weeks..?  If it's hours this will work for me, days I'll think about it, weeks it's out of the question.
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 8180791
Clients are supposed to announce changes to the WINS servers, but the information is there indefinately.
0
 

Author Comment

by:WishinIwasFishin
ID: 8192701
Thanks, I get it now.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question