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

NAME

6       pmiSetVersion - set the archive version for a LOGIMPORT archive
7

C SYNOPSIS

9       #include <pcp/pmapi.h>
10       #include <pcp/import.h>
11
12       int pmiSetVersion(int value);
13
14       cc ... -lpcp_import -lpcp
15

PERL SYNOPSIS

17       use PCP::LogImport;
18
19       pmiSetVersion($value);
20

PYTHON SYNOPSIS

22       from pcp import pmi
23
24       log = pmi.pmiLogImport(path).pmiSetVersion(value)
25

DESCRIPTION

27       As  part of the Performance Co-Pilot Log Import API (see LOGIMPORT(3)),
28       pmiSetVersion sets the output archive version in the current context to
29       be value.
30
31       In  the  absence  of  a call to pmiSetVersion the version currently de‐
32       faults to the traditional v2 format.  In a future major version of  PCP
33       it will default to v3 format.
34

DIAGNOSTICS

36       pmiSetVersion returns zero on success else a negative value that can be
37       turned into an error message by calling pmiErrStr(3).
38

SEE ALSO

40       LOGIMPORT(3), pmiErrStr(3),  pmiSetHostname(3),  pmiSetTimezone(3)  and
41       pmiStart(3).
42
43
44
45Performance Co-Pilot                                          PMISETVERSION(3)
Impressum