• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: check available remote machines? possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check available remote machines? possible?


  • Subject: Re: check available remote machines? possible?
  • From: Bernard Bernu <email@hidden>
  • Date: Thu, 1 Dec 2005 00:06:43 +0100

As far as I now ping is just telling that the machine is on or shut down not if you can log on or not.
I think ethernet card is responding when the machine is on and the system is down.


I always use first
ping ### -i 2
(wait for 2 second on local network) to see if that IP number is available.


Then, if the machine is responding to ping I try ssh with a timeout otherwise would hang for quiet a long time if its system is down.
With AppleScipt, I include the do shell script "ssh xxxxx" inside a tell inside a "with timout of 2 seconds"


This is what I do to scan all possible IP number on a local network to check which machine is on and then which machine is overloaded or not.



Le 30 nov. 05, à 22:50, doug rogers a écrit :


On 30-Nov-05, at 2:56 PM, email@hidden wrote:


anybody here to know about how to check for available machines
running remote applications

I think that "ping" is for that.

forgive a newbie question, but can you ping with knowing only the
Mac's name?

You can ping the broadcast address for a subnet, but all ping is going to
tell you is that there's a functional NIC and just enough IP to return a
PING. It's not going to tell you bubkis about the applications running on
that box.

Well that would be sufficient for my purposes. The target machine sometimes changes IP numbers, though the name of the machine doesn't change. Knowing the IP number of my target would help eliminate one of the hang-there-and-do-nothing parts of one of my scripts.




 There is a crack in everything. That's how the light gets in.
__________<http://home.golden.net/~samu>__________

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden

Bernard

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: check available remote machines? possible?
      • From: Gnarlodious <email@hidden>
References: 
 >Re: check available remote machines? possible? (From: doug rogers <email@hidden>)

  • Prev by Date: Re: Problem with GUI Scripting
  • Next by Date: Re: check available remote machines? possible?
  • Previous by thread: Re: check available remote machines? possible?
  • Next by thread: Re: check available remote machines? possible?
  • Index(es):
    • Date
    • Thread