On Mon, 10 Nov 2003, Pete R Jemian wrote:
> [2] An EPICS "ping" command or something that a sysAdmin could use to
> identify all the EPICS IOCs within a subnet. Maybe there is already
> documentation on how to do this by probing a certain port or some other
> elegant method.
Not an elegant or a fool-proof way, but 'nmap -p 5064 host' will tell you
if a host is listening on the default ca server port. (nmap available from
www.insecure.org/nmap/ ).
> answer the question "Where is this PV?" (Maybe this, too, is already
> available from the low level C calls.
Not a way to get a list of PVs on an IOC, but ca_host_name() will tell you
where a PV is. In medm, the "PV Info" tool makes use of this as a
convenient way to find out which IOC a PV is from.
--
Steve Hartman
[email protected] | 919-660-2650
Duke Free Electron Laser Laboratory