
# Marcio, should fill this up with some info:


# IOC Shell Commands for EPICS Qsrv:
1) startPVAServer() and stopPVAServer()
Note that the PVA server now starts automatically during iocInit(), 
so calling startPVAServer() immediately afterwards is a no-op
stopPVAServer() will stop Qsrv

2) pvasr(detail)

Analogous to casr() reports PVA server status w/ detail = 0
and lists connected clients w/ detail >= 1

3) refshow(), refdiff(), and refsave()

refshow() and refdiff() show the values of a set of global
counters.  These are associated with various c++ classes,
and are incremented in constructors, and decremented in
destructors.

The idea is to detect resource leaks which would otherwise
be quite hard to find.

The difference between refshow() and refdiff() is that
refshow() always reports the absolute value of these counters,
while refdiff() shows the changes since the last call to refsave().


4) refmon(period)

A noisy relative of refdiff() which periodically
prints counter deltas to the IOC shell.


On the client side:

497  eget -t -s ds -a name=USEG:UND1:0150:RTD% -a show=dname
  498  eget -t -s ds -a name=USEG:UND1:150:RTD% -a show=dname
  499  eget -t -s ds -a name=USEG:UND1:RTD% -a show=dname
  500  eget -t -s ds -a name=QUAD:UND1:BDESD% -a show=dname
  501  eget -t -s ds -a name=QUAD:UND1:BDES% -a show=dname
  502  eget -t -s ds -a name=QUAD:UND1:%BDES -a show=dname
  503  eget -t -s ds -a name=USEG:UND1:150:%RTD% -a show=dname
  504  eget -t -s ds -a name=USEG:UND1:150:RTD% -a show=dname
  505  eget -t -s ds -a name=USEG:UND1:%RTD% -a show=dname
  506  eget -t -s ds -a name=USEG:UND1:%RTD01 -a show=dname
 1002  eget -s ds -a name %PID%HST%
 1003  eget -s ds -a name BPMS:LI23:% -a show dname
 1004  eget -s ds -a name BPMS:LI23:501:XHST%

pvget -h

Usage: pvget [options] <PV name>...


options:
  -h: Help: Print this message
  -V: Print version and exit
  -r <pv request>:   Request, specifies what fields to return and options, default is 'field(value)'
  -w <sec>:          Wait time, specifies timeout, default is 3 seconds for get, inf. for monitor
  -t:                Terse mode - print only value, without names
  -i:                Do not format standard types (enum_t, time_t, ...)
  -m:                Monitor mode
  -p <provider>:     Set default provider name, default is 'pva'
  -v:                Show entire structure
  -q:                Quiet mode, print only error messages
  -d:                Enable debug output
  -F <ofs>:          Use <ofs> as an alternate output field separator
  -f <input file>:   Use <input file> as an input that provides a list PV name(s) to be read, use '-' for stdin
 enum format:
  -n: Force enum interpretation of values as numbers (default is enum string)

example: pvget double01
