Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   pmlogger    ( 1 )

создать архивный журнал для показателей производительности (create archive log for performance metrics)

Параметры (Options)

The available command line options are:

-c conffile, --config=conffile Specify the conffile file to use.

-C, --check Parse configuration and exit.

-h host, --host=host Fetch performance metrics from pmcd(1) on host, rather than from the default localhost.

-H hostname, --labelhost=hostname Specify the hostname to use instead of the one returned by pmcd(1).

-K spec, --spec-local=spec When fetching metrics from a local context (see -o), the -K option may be used to control the DSO PMDAs that should be made accessible. The spec argument conforms to the syntax described in pmSpecLocalPMDA(3). More than one -K option may be used.

-l logfile, --log=logfile Write all diagnostics to logfile instead of the default pmlogger.log.

-L, --linger Run even if not the primary logger instance and nothing to log.

-m note, --note=note Append note to the port map file for this instance.

-n pmnsfile, --namespace=pmnsfile Load an alternative Performance Metrics Name Space (PMNS(5)) from the file pmnsfile.

-N, --notify Notify service manager such as systemd(1) as needed.

-o, --local-PMDA Use a local context to collect metrics from DSO PMDAs on the local host without PMCD. See also -K.

-p PID, --PID=PID Log specified metrics for the lifetime of the pid PID.

-P, --primary Run as primary logger instance. See above for more detailed description of this.

-r, --report Report record sizes and archive growth rate.

-s endsize, --size=endsize Terminate after log size exceeds endsize.

-t interval, --interval=interval Specify the logging interval. The default value is 60 seconds.

-T endtime, --finish=endtime Specify the endtime when to end logging.

-u Use unbuffered output. This is the default (so this option does nothing).

-U username, --username=username When in daemon mode, run as user username.

-v volsize, --volsize=volsize Switch log volumes after reaching log volume size volsize.

-V version, --version=version Specify log archive version. The default and the only accepted value is 2.

-x fd Allow asynchronous control requests on the file descriptor fd.

-y Use local timezone instead of the timezone from the pmcd(1) host.

-?, --help Display usage message and exit.