---
name: "hpigensimdata"
section: "1"
platform: "linux"
package: "openhpi-clients"
version: "3.8.0-2.3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/hpigensimdata"
---

# hpigensimdata(1)

A openhpi client application supplementing the dynamic simulator plugin.

## NAME

hpigensimdata - A openhpi client application supplementing the dynamic simulator plugin.

## SYNOPSIS

```
 hpigensimdata [-D nn] [-N host[:port]] [-C <cfgfile>] [-r res_id] [-f filename] [-m UPD|INIT] [-h]
 hpigensimdata [--domain=nn] [--host=host[:port]] [--cfgfile=file]
               [--resource=res_id] [--file=filename] [--mode=UPD|INIT] [--help]
```

## DESCRIPTION

hpigensimdata generates data for the dynamic simulator plugin by reading the current  configuration. It will print all HPI information in a format that can be parsed by Dynamic Simulator plugin. To spare some encoding/decoding function, values of enums are  printed as int values instead of encode them to ASCII values and decode them afterwards. Since this client is primarily for the Dynamic Simulator, the output functions don't depend on the oh\_.. - output function. Therefore they can be easily changed without  influence on other clients.

Please refer to README and detailed documentation with the plugin.

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

If no file name is specified, the data is displayed on console.

## OPTIONS

### Help Options:

- **-h**, **--help**

  Show help options

### Application Options:

- **-r** *res\_id*, **--resource**=*res\_id*

  Select particular resource id for an update file

- **-f** *filename*, **--file**=*filename*

  Name of the file to be generated

- **-m** *UPD\|INIT*, **--mode**=*UPD\|INIT*

  Write update or initial file

- **-D** *nn*, **--domain**=*nn*

  Select domain id *nn*

- **-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.

## SEE ALSO

```
         hpi_shell
         hpialarms      hpifan         hpireset       hpitop
         hpidomain      hpiinv         hpisensor      hpitree
         hpiel          hpionIBMblade  hpisettime     hpiwdt
         hpievents      hpipower       hpithres       hpixml
         ohdomainlist   ohhandler      ohparam
```

## AUTHORS

Authors of this man page:

```
 Ulrich Kleber (ulikleber@users.sourceforge.net)
 Lars Wetzel (larswetzel@users.sourceforge.net)
 Anton Pak (avpak@users.sourceforge.net)
```
