EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Among the things for which I wish...
From: Till Straumann <[email protected]>
To: Pete R Jemian <[email protected]>
Cc: Tech-Talk <[email protected]>
Date: Mon, 10 Nov 2003 14:35:42 -0800
To find the active IOCs on your subnet you can
do something like

tpdump port 5065
and you'll see trickle in beacons. A pipeline

tcpdump -c 100 port 5065 | awk '{ print $2 }' | sort -u

gives you a sorted list of IOCs

HTH

-- Till

Pete R Jemian wrote:
Now there's the quick answer to [2].
Thanks.  Maybe I'll write myself a quick C hack
that will make this happen.  But, I'll have
to scan each host in the subnet for this.

At 04:43 PM 11/10/2003 -0500, you wrote:

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





References:
Among the things for which I wish... Pete R Jemian
Re: Among the things for which I wish... Pete R Jemian

Navigate by Date:
Prev: Re: Among the things for which I wish... Pete R Jemian
Next: Re: Among the things for which I wish... Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Among the things for which I wish... Pete R Jemian
Next: Re: Among the things for which I wish... Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·