1PMISETHOSTNAME(3)          Library Functions Manual          PMISETHOSTNAME(3)
2
3
4

NAME

6       pmiSetHostname - set the source host name for a LOGIMPORT archive
7

C SYNOPSIS

9       #include <pcp/pmapi.h>
10       #include <pcp/impl.h>
11       #include <pcp/import.h>
12
13       int pmiSetHostname(const char *value);
14
15       cc ... -lpcp_import -lpcp
16

Perl SYNOPSIS

18       use PCP::LogImport;
19
20       pmiSetHostname($value);
21

DESCRIPTION

23       As  part of the Performance Co-Pilot Log Import API (see LOGIMPORT(3)),
24       pmiSetHostname sets the source hostname in the current  context  to  be
25       value.
26
27       In the absence of a call to pmiSetHostname the source hostname defaults
28       to the hostname of the localhost.
29

DIAGNOSTICS

31       pmiSetHostname returns zero on success else a negative value  that  can
32       be turned into an error message by calling pmiErrStr(3).
33

SEE ALSO

35       LOGIMPORT(3), pmiErrStr(3), pmiSetTimezone(3) and pmiStart(3).
36
37
38
39Performance Co-Pilot                                         PMISETHOSTNAME(3)
Impressum