Issue the onsrvapd command

You can specify the onsrvapd command-line options that the following syntax shows. Some of these options affect OnSNMP.


1  onsrvapd
1  -d
1  -g logginglevel
1  -k lingermnts
1  -l pathname
1  -p pollsecs
1  -r server_disc_args
1  -s level
1  -V
Table 1. The onsrvapd command-line options
Option Description
-d Flag that tells UNIX™ to run onsrvapd once and terminate it instead of starting it as a daemon.
-g logginglevel Logging level to which OnSNMP logs debug information. Valid values are 2, 4, 8, 16, 32, and 64. The default value is 32. The lower the value, the higher the amount of logging. The onsrvapd daemon passes this value to OnSNMP.
-k lingerings Number of minutes that onsrvapd waits after a database server goes down before onsrvapd kills the corresponding OnSNMP. If lingermnts is 0, onsrvapd waits indefinitely.
-l pathname Directory for the error log files. The file name of the OnSNMP error log is onsnmp.servername.log. For example, if your server name is MyServer, the file name of the OnSNMP error log is onsnmp.MyServer.log. The file name of the onsrvapd error log is onsrvapd.log.
-p pollsecs Frequency, in seconds, with which OnSNMP polls the database server. The default value is 5 seconds. The onsrvapd daemon passes this value to OnSNMP.
-r level Refresh control value. For a description, see Refresh control value.
-V Prints the OnSNMP version number.