статистика отчетов по задачам Linux (Report statistics for Linux tasks.)
Окружение (Environment)
The pidstat
command takes into account the following environment
variables:
S_COLORS
By default statistics are displayed in color when the
output is connected to a terminal. Use this variable to
change the settings. Possible values for this variable are
never, always or auto (the latter is equivalent to the
default settings).
Please note that the color (being red, yellow, or some
other color) used to display a value is not indicative of
any kind of issue simply because of the color. It only
indicates different ranges of values.
S_COLORS_SGR
Specify the colors and other attributes used to display
statistics on the terminal. Its value is a colon-
separated list of capabilities that defaults to
H=31;1:I=32;22:M=35;1:N=34;1:Z=34;22
. Supported
capabilities are:
H=
SGR (Select Graphic Rendition) substring for
percentage values greater than or equal to 75%.
I=
SGR substring for item values like PID, UID or CPU
number.
M=
SGR substring for percentage values in the range
from 50% to 75%.
N=
SGR substring for non-zero statistics values and
for tasks names.
Z=
SGR substring for zero values and for threads
names.
S_TIME_FORMAT
If this variable exists and its value is ISO
then the
current locale will be ignored when printing the date in
the report header. The pidstat
command will use the ISO
8601 format (YYYY-MM-DD) instead. The timestamp will also
be compliant with ISO 8601 format.