Thanks to all,
the solution is ping -c 1 hostname/IP#, then there are 100% or 0% paket
loss, one only time.
If 100% paket loss (host is down) then variable $?=1
If 0% paket loss (host is up) then variable $?=0
Regards to all,
Pablo Salazar
>
>Hi admins,
>
> We have Tru64 Unix 4.0F and I want to check the status of remote host
(Tru64, Sun, VMS, NT).
> My site's partner, say me with the telnet command, how on VMS. I know
little VMS, so i can to use
> the telnet command on Unix to make this???? or there are a Unix command to
make this????
>
>Regards,
>Pablo Salazar
>
Received on Wed Jan 10 2001 - 15:13:05 NZDT