| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 476.1 | Re: how to get server status | QUABBI::"[email protected]" |  | Thu Apr 10 1997 20:36 | 17 | 
|  | [email protected] writes:
>Title: how to get server status
>    Is there a fast way to know that the remote server is actualy unavailable?
My usual recommendations are "ping <server>" and "rpcinfo -p <server>".
If you want to see if NFS is acutally willing to talk back to you,
then "rpcinfo -u <server> nfs 3" is good.
Ping tells you if the server is up at all, rpcinfo -p tells you if portmap
is running and what has registered with it, rpcinfo -u or -t actually
calls the service.
-- 
  <>    Eric (Ric) Werme   <>      This space under reconstruction       <>
  <>  <[email protected]>  <>                                            <>
[posted by Notes-News gateway]
 | 
| 476.2 | from C program? | MLNCSC::VOCI |  | Fri Apr 11 1997 03:43 | 8 | 
|  |     
    Do you know if it is possible to have the same information from a
    system call that I can be used by a C program?
    
    I've tested the stat* routines with no success.
    
    Thanks,
    Gea
 | 
| 476.3 |  | KITCHE::schott | Eric R. Schott USG Product Management | Sat Apr 12 1997 09:21 | 7 | 
|  | Hi
 You could mount soft rather than hard, and be sure you application
checks I/O status returns on I/O calls, then you would find out
within the NFS timeout.
 |