hpisettime(1)

hpisettime1

This sample openhpi application excercises event log clock apis.

Usage

hpisettime [-D nn] [-N host [:port]] [-C <cfgfile>] -d mm/dd/yyyy -t HH:MM:SS [-X] [-h]

hpisettime [--domain=nn] [--host=host [:port]] [--cfgfile=file] --date=mm/dd/yyyy --time=HH:MM:SS [--debug] [--help]

Overview

hpisettime sets new date and time for the Event Log clock.

If no domain is selected, hpisettime uses a session with the default domain. The selected domain id must be configured via the openhpidclient.conf file specified in the environment.

Options

Help Options:

-h, --help

Show help options

Application Options:

-d mm/dd/yyyy, --date=mm/dd/yyyy

New date

-t 24:12:60, --time=24:12:60

New time of day in 24-hr format

-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

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

--cfgfile since Debian 9 (Stretch); --date since Debian 9 (Stretch); --debug since Debian 9 (Stretch); --domain since Debian 9 (Stretch); --help since Debian 9 (Stretch); --host since Debian 9 (Stretch); --time since Debian 9 (Stretch); -C since Debian 9 (Stretch); -D since Debian 9 (Stretch); -N since Debian 9 (Stretch); -X since Debian 9 (Stretch); -d since Debian 9 (Stretch); -h since Debian 9 (Stretch); -t since Debian 9 (Stretch).