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

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



   htop    ( 1 )

интерактивный просмотрщик процессов (interactive process viewer)

Конфигурационный файл (Config file)

By default htop reads its configuration from the XDG-compliant path ~/.config/htop/htoprc. The configuration file is overwritten by htop's in-program Setup configuration, so it should not be hand-edited. If no user configuration exists htop tries to read the system-wide configuration from ${prefix}/etc/htoprc and as a last resort, falls back to its hard coded defaults.

You may override the location of the configuration file using the $HTOPRC environment variable (so you can have multiple configurations for different machines that share the same home directory, for example).

The pcp-htop utility makes use of htoprc in exactly the same way. In addition, it supports additional configuration files allowing new meters and columns to be added to the display via the usual Setup function, which will display additional Available Meters and Available Column entries for each runtime configured meter or column.

These pcp-htop configuration files are read once at startup. The format of these files is described in detail in the pcp-htop(5) manual page.

This functionality makes available many thousands of Performance Co-Pilot metrics for display by pcp-htop, as well as the ability to display custom metrics added at individual sites. Applications and services instrumented using the OpenMetrics format https://openmetrics.io can also be displayed by pcp-htop if the pmdaopenmetrics(1) component is configured.