tux$ time caget this-is-not-a-real-pv
Channel connect timed out: 'this-is-not-a-real-pv' not found.
real 0m1.012s
user 0m0.005s
sys 0m0.005s
tux$ export EPICS_CA_NAME_SERVERS=nomachine
tux$ time caget this-is-not-a-real-pv
../iocinf.cpp: Parsing 'EPICS_CA_NAME_SERVERS'
Bad internet address or host name: 'nomachine'
Channel connect timed out: 'this-is-not-a-real-pv' not found.
real 0m1.020s
user 0m0.006s
sys 0m0.006s
tux$ export EPICS_CA_NAME_SERVERS=tux
tux$ time caget this-is-not-a-real-pv
CAC: Unable to connect because "Connection refused"
Channel connect timed out: 'this-is-not-a-real-pv' not found.
CAC TCP socket shutdown error was Transport endpoint is not connected
real 0m30.015s
user 0m0.003s
sys 0m0.010s
If there is a real name-server (or an IOC) on the host with no such PV, the failure is fast again:
tux$ time caget this-is-not-a-real-pv
Channel connect timed out: 'this-is-not-a-real-pv' not found.
Confirmed:
tux$ time caget this-is- not-a-real- pv not-a-real- pv' not found.
Channel connect timed out: 'this-is-
real 0m1.012s
user 0m0.005s
sys 0m0.005s
tux$ export EPICS_CA_ NAME_SERVERS= nomachine not-a-real- pv CA_NAME_ SERVERS' not-a-real- pv' not found.
tux$ time caget this-is-
../iocinf.cpp: Parsing 'EPICS_
Bad internet address or host name: 'nomachine'
Channel connect timed out: 'this-is-
real 0m1.020s
user 0m0.006s
sys 0m0.006s
tux$ export EPICS_CA_ NAME_SERVERS= tux not-a-real- pv not-a-real- pv' not found.
tux$ time caget this-is-
CAC: Unable to connect because "Connection refused"
Channel connect timed out: 'this-is-
CAC TCP socket shutdown error was Transport endpoint is not connected
real 0m30.015s
user 0m0.003s
sys 0m0.010s
If there is a real name-server (or an IOC) on the host with no such PV, the failure is fast again:
tux$ time caget this-is- not-a-real- pv not-a-real- pv' not found.
Channel connect timed out: 'this-is-
real 0m1.010s
user 0m0.007s
sys 0m0.006s