1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 <2010> 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 <2010> 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: caSnooper output |
From: | "Jeff Hill" <[email protected]> |
To: | "'Caizhen Liu'" <[email protected]>, <[email protected]> |
Date: | Mon, 25 Jan 2010 09:27:37 -0700 |
The client
library, by default, broadcasts using one subnet limited broadcast address destination
for each of the network interfaces on the client’s host. One can examine
the network interfaces by typing “ifconfig –a”
(on Linux) or ipconfig (on windows). The CA Reference
Manual discusses how the network interfaces’ netmask
and IP address can be used to determine the network interfaces’ subnet
limited broadcast address. And, as Andrew
mentions, the CA server (IOC) must be listening on one of these subnets, and one
can type “casr 2” to find out which one. Alternatively, one can use the “ifconfig –a” (on Linux), ipconfig
(on windows) , or ifShow (on vxWorks)
to find out which ones might be used by default. Also, “netstat –a” (windows and linux)
or inetstatShow (vxWorks) will
show all of the servers, and what address/port they listen on. Finally, one can
use environment variables to manually configure the addresses that the client
library might send search messages to. The CA Reference Manual has the gruesome
details. Jeff Message content: TSPA From: [email protected]
[mailto:[email protected]] On Behalf Of Caizhen Liu Hi, When I use camonitor to check a PV, I get the following
error message: [dt100@tsdaq1 ~]$ camonitor ACQ196_310_UPTIME ACQ196_310_UPTIME
*** Not connected (PV not found) I have checked the IOC server is running properly. Then I
try to use caSnooper to trouble-shoot. Here is the result: -------------------------------------------------------------------------------- [dt100@tsdaq1 linux-x86]$ ./caSnooper -t30 -p4 -c0 Starting CaSnooper 2.1.2.1 (8-10-2007) at Jan 22 08:27:18 EPICS 3.14.11 Individual Name is CaSnoop.test Internal PV names are not being published CaSnooper terminating after 30.01 seconds [0.50 minutes] Data collected for 30.01 seconds [0.50 minutes] Jan 22 08:27:48: There were 20 requests to check for PV existence for 2
different PVs. Max(Hz): 0.33 Mean(Hz): 0.33 StDev(Hz): 0.33 PVs with top 2 requests: 1
192.168.1.1:44539
ACQ196_310_UPTIME
0.33 2
tsdaq1.gat.com:44539
ACQ196_310_UPTIME
0.33 Connection status for top 2 PVs after 10.00 sec: Questions: 1)
The IP address 192.168.1.1 and tsdaq1.gat.com of
the two requests are the address of the client computer. The computer has two
Ethernet port. Are the ip addresses all right? 2)
Should there be a valid request with the default
port number 5064 instead of the big number 44539? Thank you very much for your help in advance. Caizhen |