On Mon, Jul 14, 2003 at 11:41:38AM -0700, Jim Sibley wrote:
> I'm running some boot timings for multiple linux under vm. Is there a neat
> why to notify either vm or another linux machine that TCP/IP or a certain
> application has been started so I can get elapsed times?

ssh pinghost somecommand

Put this command in the appropriate place in the networking scripts (if
you can't find: tell us what distro).

You also have to make sure that root is actually allowed to execute the
command on the remote host. I figure that the best way to do that would
be by using the 'command' option for a public key in the authrized_keys
file (see sshd(8) ).

This only works, of course, if TCP actually works. If timeout is large
enough, it will work over some delays in the starting of tcpip.

--
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

Reply via email to