man1/par_subscribe
Table of Contents
par_subscribe - subscribe to a parameter and print value
par_subscribe
<arg_list>
This program subscribes to the parameter given on the
command line. The program can subscribe to the normal, fast or indirect
ques. Each time the value changes it is printed to stdout.
- --dbman_host
<hn>
The host where dbman is running.
The default is "localhost"
- --tagname label|refname
- required
The tagname of the parameter to subscribe to. The tagname probably needs
to be in double quotes for the shell to handle it properly.
- --mode <m>
- The subscription
mode. Valid values are: nrm, fast, idir.
- --help
Print the internal help to stderr and exit.
The default is "nrm"
par_subscribe
--dbman_host localhost --tagname "CAT S1-1|VC"
The program prints the QUEDISK.fd
structure member. This tells what file descriptor in
dbman(8)
originated
the change. Do a
printreg(8)
and get the list of dbman’s fd values. One can
then deduce which job originated the change.
The impetus for writing this
program was to debug a problem a customer was having with a db parameter
spontaneously changing.
$Id: par_subscribe.1,v 1.1 2007/04/25
17:07:41 kitchen Exp $
Table of Contents