mirror of https://github.com/nicolargo/glances.git
Update docs for Glances 3.4.0
This commit is contained in:
parent
b3a80ab028
commit
1c28d543f2
4
Makefile
4
Makefile
|
|
@ -40,14 +40,14 @@ test: ## Run unit tests
|
|||
./venv/bin/python ./unitest-restful.py
|
||||
./venv/bin/python ./unitest-xmlrpc.py
|
||||
./venv/bin/python -m black ./glances --check --exclude outputs/static
|
||||
./venv/bin/pyright glances
|
||||
# ./venv/bin/pyright glances
|
||||
|
||||
test-with-upgrade: venv-upgrade venv-dev-upgrade ## Run unit tests
|
||||
./venv/bin/python ./unitest.py
|
||||
./venv/bin/python ./unitest-restful.py
|
||||
./venv/bin/python ./unitest-xmlrpc.py
|
||||
./venv/bin/python -m black ./glances --check --exclude outputs/static
|
||||
./venv/bin/pyright glances
|
||||
# ./venv/bin/pyright glances
|
||||
|
||||
# ===================================================================
|
||||
# Linters and profilers
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 211 KiB |
740
docs/api.rst
740
docs/api.rst
File diff suppressed because it is too large
Load Diff
|
|
@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||||
..
|
||||
.TH "GLANCES" "1" "May 13, 2023" "3.4.0_RC1" "Glances"
|
||||
.TH "GLANCES" "1" "May 16, 2023" "3.4.0" "Glances"
|
||||
.SH NAME
|
||||
glances \- An eye on your system
|
||||
.SH SYNOPSIS
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# This file is part of Glances.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2022 Nicolas Hennion <nicolas@nicolargo.com>
|
||||
# SPDX-FileCopyrightText: 2023 Nicolas Hennion <nicolas@nicolargo.com>
|
||||
#
|
||||
# SPDX-License-Identifier: LGPL-3.0-only
|
||||
#
|
||||
|
|
@ -19,7 +19,7 @@ import sys
|
|||
# Global name
|
||||
# Version should start and end with a numerical char
|
||||
# See https://packaging.python.org/specifications/core-metadata/#version
|
||||
__version__ = '3.4.0_RC1'
|
||||
__version__ = '3.4.0'
|
||||
__author__ = 'Nicolas Hennion <nicolas@nicolargo.com>'
|
||||
__license__ = 'LGPLv3'
|
||||
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ class GlancesStdoutIssue(object):
|
|||
result = (colors.RED + '[ERROR]' + colors.BLUE + ' {:.5f}s '.format(counter.get())).rjust(
|
||||
41 - len(plugin)
|
||||
)
|
||||
message = colors.NO + str(stat_error)[0: TERMINAL_WIDTH - 41]
|
||||
message = colors.NO + str(stat_error)[0 : TERMINAL_WIDTH - 41]
|
||||
|
||||
# Display the result
|
||||
self.print_issue(plugin, result, message)
|
||||
|
|
|
|||
|
|
@ -332,9 +332,7 @@ class DockerContainersExtension:
|
|||
stats['io_w'] = stats['io'].get('iow')
|
||||
stats['network_rx'] = stats['network'].get('rx')
|
||||
stats['network_tx'] = stats['network'].get('tx')
|
||||
stats['Uptime'] = pretty_date(
|
||||
parser.parse(started_at).astimezone(tz.tzlocal()).replace(tzinfo=None)
|
||||
)
|
||||
stats['Uptime'] = pretty_date(parser.parse(started_at).astimezone(tz.tzlocal()).replace(tzinfo=None))
|
||||
else:
|
||||
stats['io'] = {}
|
||||
stats['cpu'] = {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue