camonitor
camonitor [options] <PV name> ...
Description
Subscribe to and print value updates for PV(s).
Options
- -h
Print usage information
CA options
- -w <sec>
Wait time, specifies longer CA timeout, default is 1.0 second.
- -m <msk>
Specify CA event mask to use.
<msk> is any combination of
v
(value),a
(alarm),l
(log/archive),p
(property).Default event mask is
va
- -p <prio>
CA priority (0–99, default 0=lowest)
Timestamps
Default: Print absolute timestamps (as reported by CA server)
- -t <key>
Specify timestamp source(s) and type, with <key> containing:
s
= CA server (remote) timestamps
c
= CA client (local) timestamps (shown in()
s)
n
= no timestamps
r
= relative timestamps (time elapsed since start of program)
i
= incremental timestamps (time elapsed since last update)
I
= incremental timestamps (time since last update, by channel)\r
,i
orI
requires
orc
to select the time source.
Enum format
- -n
Print
DBF_ENUM
values as number (default is enum string)
Arrays
Array values: Print number of elements, then list of values.
By default: request and print all elements (dynamic arrays supported).
- -# <count>
Request and print first <count> elements of an array.
- -S
Print array of char as a string (long string).
Floating point format
By default: use %g
format.
- -e <nr>
Use
%e
format, with a precision of <nr> digits.
- -f <nr>
Use
%f
format, with a precision of <nr> digits.
- -g <nr>
Use
%g
format, with a precision of <nr> digits.
- -s
Get value as string (honors server-side precision).
- -lx
Round to long integer and print as hex number.
- -lo
Round to long integer and print as octal number.
- -lb
Round to long integer and print as binary number.
Integer number format
By default: print as decimal number.
- -0x
Print as hex number.
- -0o
Print as octal number.
- -0b
Print as binary number.