ohparam(1)

ohparam1

An openhpi sample application that uses the openhpi additional interface to control openhpi configuration parameters

Usage

ohparam [-D nn] [-N host [:port]] [-C <cfgfile>] [-X] get

ohparam [-D nn] [-N host [:port]] [-C <cfgfile>] [-X] set <paramname newvalue>

ohparam [--domain nn] [--host=host [:port]] [--cfgfile=file] [--debug] get

ohparam [--domain nn] [--host=host [:port]] [--cfgfile=file] [--debug] set <paramname newvalue>

Overview

ohparam get will display all global configuration parameters of the openhpi daemon for the specified domain.

ohparam set will change the given global configuration parameters of the openhpi daemon for the specified domain to the new value.

If no domain or host is selected, ohparam uses the default domain as specified in the openhpiclient.conf file.

Commands

 Command get: display info about all global parameters  
         no specific arguments                         
 Command set:                                           
         one of the daemon's global parameters:        
         (without the OPENHPI prefix)                  
           LOG_ON_SEV, EVT_QUEUE_LIMIT,         
           DEL_SIZE_LIMIT, DEL_SAVE                    
           DAT_SIZE_LIMIT, DAT_USER_LIMIT, DAT_SAVE    
           PATH, VARPATH, CONF                         
         and the desired new value. Example:           
           ohparam set DEL_SIZE_LIMIT 20000

Options

Help Options:

-h, --help

Show help options

Application Options:

-D nn, --domain=nn

Select domain id nn

-X, --debug

Display debug messages

-N "host[:port]", --host="host[:port]"

Open session to the domain served by the daemon at the specified URL (host:port). This option overrides the OPENHPI_DAEMON_HOST and OPENHPI_DAEMON_PORT environment variables. If host contains ':' (for example IPv6 address) then enclose it in square brackets. For example: "[::1]" or "[::1]:4743".

-C "file", --cfgfile="file"

Use passed file as client configuration file. This option overrides the OPENHPICLIENT_CONF environment variable.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Authors

Authors of this man page:

 Ulrich Kleber ([email protected])
 Anton Pak ([email protected])

From openhpi-clients 3.8.0-2.3 in Debian 13 (Trixie). Parsed by carta from the page's man source.