summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2022-10-16 15:30:33 +0200
committernicolargo <nicolas@nicolargo.com>2022-10-16 15:30:33 +0200
commit7003616ea51a3f9c6f0b80ff2db60bfe6b814a06 (patch)
tree39c8d380ff2f950b2c6dcfb11f0fc8696e8ca47c
parent4cdd2d9f803df6254b769ff3b97fa2d8947b8acd (diff)
version 3.3.0v3.3.0
-rw-r--r--NEWS.rst48
-rw-r--r--README.rst24
-rw-r--r--conf/glances.conf1
-rw-r--r--docker-compose/glances.conf24
-rw-r--r--docs/api.rst1017
-rw-r--r--docs/man/glances.14
-rw-r--r--glances/__init__.py2
-rw-r--r--glances/outputs/static/js/components/plugin-ip.vue2
-rw-r--r--glances/outputs/static/public/glances.js2
-rw-r--r--glances/plugins/glances_ip.py2
10 files changed, 571 insertions, 555 deletions
diff --git a/NEWS.rst b/NEWS.rst
index 5d0f34db..888d5bce 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -6,7 +6,53 @@
Version 3.3.0
===============
- Version under development: see roadmap here https://github.com/nicolargo/glances/milestone/60
+Enhancements:
+
+ * Migration from AngularJS to Angular/React/Vue #2100 (many thanks to @fr4nc0is)
+ * Improve the IP module with a link to Censys #2105
+ * Add the public IP information to the WebUI #2105
+ * Add an option to show a configurable clock/time module to display #2150
+ * Add sort information on Docker plugin (console mode). Related to #2138
+ * Password files in same configuration dir in effect #2143
+ * If the container name is long, then display the start, not the end - Related to #1732
+ * Make the Web UI same than Console for CPU plugin
+ * [WINDOWS] Reorganise CPU stats display #2131
+ * Remove the static exportable_plugins list from glances_export.py #1556
+ * Limiting data exported for economic storage #1443
+
+Bug corrected:
+
+ * glances.conf FS hide not applying #1666
+ * AMP: regex with special chars #2152
+ * fix(help-screen): add missing shortcuts and columnize algorithmically #2135
+ * Correct issue with the regexp filter (use fullmatch instead of match)
+ * Errors when running Glances as web service #1702
+ * Apply alias to Duplicate sensor name #1686
+ * Make the hide function in sensors section compliant with lower/upercase #1590
+ * Web UI truncates the days part of CPU time counter of the process list #2108
+ * Correct alignement issue with the diskio plugin (Console UI)
+
+Documentation and CI:
+
+ * Refactor Docker file CI
+ * Add Codespell to the CI pipeline #2148
+ * Please add docker-compose example and document example. #2151
+ * [DOC] Glances failed to start and some other issues - BSD #2106
+ * [REQUEST Docker image] Output log to stdout #2128 (for debian)
+ * Fix code scanning alert - Clear-text logging of sensitive information #2124
+ * Improve makefile (with online documentation)
+ * buildx failed with: ERROR: failed to solve: python:3.10-slim-buster: no match for platform in manifest #2120
+ * [Update docs] Can I export only the fields I need in csv report? #2113
+ * Windows Python 3 installation fails on dependency package "future" #2109
+
+Contributors for this version:
+
+ * fr4nc0is : a very special thanks to @fr4nc0is for his huge work on the Glances v3.3.0 WebUI !!!
+ * Kostis Anagnostopoulos
+ * Kian-Meng Ang
+ * dependabot[bot]
+ * matthewaaronthacker
+ * and your servant Nicolargo
===============
Version 3.2.7
diff --git a/README.rst b/README.rst
index ecfd1f8f..0eeff51e 100644
--- a/README.rst
+++ b/README.rst
@@ -57,15 +57,6 @@ Glances is written in Python and uses libraries to grab information from
your system. It is based on an open architecture where developers can
add new plugins or exports modules.
-Social networks
-===============
-
-.. image:: https://raw.githubusercontent.com/nicolargo/glances/develop/docs/_static/twitter-icon.png
- :target: https://twitter.com/nicolargo
-
-.. image:: https://raw.githubusercontent.com/nicolargo/glances/develop/docs/_static/reddit.png
- :target: https://www.reddit.com/r/glances/
-
Requirements
============
@@ -86,6 +77,7 @@ Glances version 4.0 will no longer supports Python 2.x.
Optional dependencies:
+- ``batinfo`` (for battery monitoring)
- ``bernhard`` (for the Riemann export module)
- ``bottle`` (for Web server mode)
- ``cassandra-driver`` (for the Cassandra export module)
@@ -148,7 +140,7 @@ To install it, use the following command:
pip install --user 'glances[web]'
-For a full installation (with all features:
+For a full installation (with all features):
.. code-block:: console
@@ -205,7 +197,7 @@ The following tags are availables:
- *alpine-latest* for a basic Alpine Glances (latest release) version with minimal dependencies
- *latest* for a basic Debian Glances image (latest release) with minimal dependencies
- *alpine-dev* for a basic Alpine Glances image (development branch) with all dependencies
-- *latest* for a basic Debian Glances image (development branch) with all dependencies
+- *dev* for a basic Debian Glances image (development branch) with all dependencies
You can also specify a version (example: *alpine-3.2.7-full*).
@@ -250,7 +242,8 @@ may not be the latest version.
Note: The Debian package (and all other Debian-based distributions) do
not include anymore the JS statics files used by the Web interface
-(see ``issue2021``).
+(see ``issue2021``). If you want to add it to your Glances installation,
+follow the instructions: ``issue2021comment``.
FreeBSD
-------
@@ -454,7 +447,9 @@ Donation
If you like this open-source project, you can become a sponsor.
-See the sponsors_ page (one-time or monthly tier available).
+See the Github sponsors_ page (one-time or monthly tier available).
+
+Or send me some bitcoins: 185KN9FCix3svJYp7JQM7hRMfSKyeaJR4X
Author
======
@@ -478,4 +473,5 @@ Glances is distributed under the LGPL version 3 license. See ``COPYING`` for mor
.. _wiki: https://github.com/nicolargo/glances/wiki/How-to-contribute-to-Glances-%3F
.. _package: https://repology.org/metapackage/glances/packages
.. _sponsors: https://github.com/sponsors/nicolargo
-.. _issue2021: https://github.com/nicolargo/glances/issues/2021#issuecomment-1197831157 \ No newline at end of file
+.. _issue2021: https://github.com/nicolargo/glances/issues/2021#issuecomment-1197831157
+.. _issue2021comment: https://github.com/nicolargo/glances/issues/2021#issuecomment-1197831157 \ No newline at end of file
diff --git a/conf/glances.conf b/conf/glances.conf
index 986b523a..85326e33 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -581,7 +581,6 @@ db=glances
#user=root
#password=root
-
[kafka]
# Configuration for the --export kafka option
# http://kafka.apache.org/
diff --git a/docker-compose/glances.conf b/docker-compose/glances.conf
index 02744a08..6f6e4180 100644
--- a/docker-compose/glances.conf
+++ b/docker-compose/glances.conf
@@ -175,6 +175,17 @@ tx_critical=90
[ip]
disable=False
+public_refresh_interval=300
+public_ip_disabled=False
+# Configuration for the Censys online service
+# Need to create an aacount: https://censys.io/login
+censys_url=https://search.censys.io/api
+# Get your own credential here: https://search.censys.io/account/api
+# Enter your credential and uncomment the following lines
+#censys_username=<censys_api_id>
+#censys_password=<censys_secret>
+# List of fields to be displayed in user interface (comma separated)
+censys_fields=location:continent,location:country,autonomous_system:name
[connections]
# Display additional information about TCP connections
@@ -209,9 +220,9 @@ hide=loop.*,/dev/loop*
[fs]
disable=False
-# Define the list of hidden file system (comma-separated regexp)
+# Define the list of file system to hide (comma-separated regexp)
hide=/boot.*,/snap.*
-# Define the list of file system to be show (comma-separated)
+# Define the list of file system to show (comma-separated regexp)
#show=/,/srv
# Define filesystem space thresholds in %
# Default values if not defined: 50/70/90
@@ -290,6 +301,9 @@ battery_critical=95
# Sensors alias
#temp1_alias=Motherboard 0
#temp2_alias=Motherboard 1
+#core 0_temperature_core_alias=CPU Core 0 temp
+#core 0_fans_speed_alias=CPU Core 0 fan
+#or
#core 0_alias=CPU Core 0
#core 1_alias=CPU Core 1
@@ -419,13 +433,16 @@ disable=False
#server_4_port=61237
[passwords]
-# Define the passwords list
+# Define the passwords list related to the [serverlist] section
# Syntax: host=password
# Where: host is the hostname
# password is the clear password
# Additionally (and optionally) a default password could be defined
#localhost=abc
#default=defaultpassword
+#
+# Define the path of the local '.pwd' file (default is system one)
+#local_password_path=~/.config/glances
##############################################################################
# Exports
@@ -561,6 +578,7 @@ host=localhost
port=5984
db=glances
# user and password are optional (comment if not configured on the server side)
+# If they are used, then the https protocol will be used
#user=root
#password=root
diff --git a/docs/api.rst b/docs/api.rst
index dfadc569..aa4fe6a5 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -15,7 +15,7 @@ GET API status
--------------
This entry point should be used to check the API status.
-It will return nothing but a 200 return code if everything is OK.
+It will return nothing but a 200 return code if everythin is OK.
Get the Rest API status::
@@ -60,25 +60,6 @@ Get the plugins list::
"uptime",
"wifi"]
-GET alert
----------
-
-Get plugin stats::
-
- # curl http://localhost:61208/api/3/alert
- [[1664093575.0,
- -1,
- "WARNING",
- "MEM",
- 72.74970140633044,
- 72.74970140633044,
- 72.74970140633044,
- 72.74970140633044,
- 1,
- [],
- "",
- "memory_percent"]]
-
GET amps
--------
@@ -93,7 +74,7 @@ Get plugin stats::
"refresh": 3.0,
"regex": True,
"result": None,
- "timer": 0.6419174671173096},
+ "timer": 1.0110199451446533},
{"count": 0,
"countmax": 20.0,
"countmin": None,
@@ -102,14 +83,14 @@ Get plugin stats::
"refresh": 3.0,
"regex": True,
"result": None,
- "timer": 0.6418235301971436}]
+ "timer": 1.0108563899993896}]
Get a specific field::
# curl http://localhost:61208/api/3/amps/name
{"name": ["Dropbox", "Python", "Conntrack", "Nginx", "Systemd", "SystemV"]}
-Get a specific item when field matches the given value::
+Get a specific item when field matchs the given value::
# curl http://localhost:61208/api/3/amps/name/Dropbox
{"Dropbox": [{"count": 0,
@@ -120,7 +101,7 @@ Get a specific item when field matches the given value::
"refresh": 3.0,
"regex": True,
"result": None,
- "timer": 0.6419174671173096}]}
+ "timer": 1.0110199451446533}]}
GET core
--------
@@ -150,7 +131,7 @@ Get plugin stats::
"ctx_switches": 0,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 71.8,
+ "idle": 72.9,
"interrupts": 0,
"iowait": 0.0,
"irq": 0.0,
@@ -159,10 +140,10 @@ Get plugin stats::
"softirq": 0.0,
"steal": 0.0,
"syscalls": 0,
- "system": 4.0,
+ "system": 2.7,
"time_since_update": 1,
- "total": 28.3,
- "user": 24.3}
+ "total": 27.7,
+ "user": 24.4}
Fields descriptions:
@@ -185,7 +166,7 @@ Fields descriptions:
Get a specific field::
# curl http://localhost:61208/api/3/cpu/total
- {"total": 28.3}
+ {"total": 27.7}
GET diskio
----------
@@ -213,7 +194,7 @@ Get a specific field::
# curl http://localhost:61208/api/3/diskio/disk_name
{"disk_name": ["sda", "sda1", "sda2", "sda5", "dm-0", "dm-1"]}
-Get a specific item when field matches the given value::
+Get a specific item when field matchs the given value::
# curl http://localhost:61208/api/3/diskio/disk_name/sda
{"sda": [{"disk_name": "sda",
@@ -224,41 +205,6 @@ Get a specific item when field matches the given value::
"write_bytes": 0,
"write_count": 0}]}
-GET docker
-----------
-
-Get plugin stats::
-
- # curl http://localhost:61208/api/3/docker
- [{"Command": ["/entrypoint.sh", "telegraf"],
- "Id": "9230f84acadbb7bc8c087d0827389c9a87bb7c7022a1a299dcf4a5f3a441f1d3",
- "Image": ["telegraf:latest"],
- "Names": ["telegraf"],
- "Status": "running",
- "Uptime": "1 weeks",
- "cpu_percent": 0.0,
- "io_r": None,
- "io_w": None,
- "key": "name",
- "memory_usage": 32378880,
- "name": "telegraf",
- "network_rx": None,
- "network_tx": None},
- {"Command": ["/run.sh"],
- "Id": "09d96704c3e6b6cb21657d990e3c8ae1e44bac779ded141efb8fed899563dd66",
- "Image": ["grafana/grafana:latest"],
- "Names": ["grafana"],
- "Status": "running",
- "Uptime": "1 weeks",
- "cpu_percent": 0.0,
- "io_r": None,
- "io_w": None,
- "key": "name",
- "memory_usage": None,
- "name": "grafana",
- "network_rx": None,
- "network_tx": None}]
-
GET fs
------
@@ -266,38 +212,38 @@ Get plugin stats::
# curl http://localhost:61208/api/3/fs
[{"device_name": "/dev/mapper/ubuntu--gnome--vg-root",
- "free": 76271140864,
+ "free": 76639870976,
"fs_type": "ext4",
"key": "mnt_point",
"mnt_point": "/",
- "percent": 67.0,
+ "percent": 66.8,
"size": 243334156288,
- "used": 154675560448},
- {"device_name": "/dev/mapper/ubuntu--gnome--vg-root",
- "free": 76271140864,
- "fs_type": "ext4",
+ "used": 154306830336},
+ {"device_name": "zsfpool",
+ "free": 41811968,
+ "fs_type": "zfs",
"key": "mnt_point",
- "mnt_point": "/var/snap/firefox/common/host-hunspell",
- "percent": 67.0,
- "size": 243334156288,
- "used": 154675560448}]
+ "mnt_point": "/zsfpool",
+ "percent": 0.3,
+ "size": 41943040,
+ "used": 131072}]
Get a specific field::
# curl http://localhost:61208/api/3/fs/mnt_point
- {"mnt_point": ["/", "/var/snap/firefox/common/host-hunspell"]}
+ {"mnt_point": ["/", "/zsfpool", "/var/snap/firefox/common/host-hunspell"]}
-Get a specific item when field matches the given value::
+Get a specific item when field matchs the given value::
# curl http://localhost:61208/api/3/fs/mnt_point//
{"/": [{"device_name": "/dev/mapper/ubuntu--gnome--vg-root",
- "free": 76271140864,
+ "free": 76639870976,
"fs_type": "ext4",
"key": "mnt_point",
"mnt_point": "/",
- "percent": 67.0,
+ "percent": 66.8,
"size": 243334156288,
- "used": 154675560448}]}
+ "used": 154306830336}]}
GET ip
------
@@ -323,7 +269,10 @@ GET load
Get plugin stats::
# curl http://localhost:61208/api/3/load
- {"cpucore": 4, "min1": 0.90625, "min15": 0.75146484375, "min5": 0.71142578125}
+ {"cpucore": 4,
+ "min1": 1.7685546875,
+ "min15": 0.98388671875,
+ "min5": 1.60888671875}
Fields descriptions:
@@ -335,7 +284,7 @@ Fields descriptions:
Get a specific field::
# curl http://localhost:61208/api/3/load/min1
- {"min1": 0.90625}
+ {"min1": 1.7685546875}
GET mem
-------
@@ -343,16 +292,16 @@ GET mem
Get plugin stats::
# curl http://localhost:61208/api/3/mem
- {"active": 2801201152,
- "available": 2135388160,
- "buffers": 114778112,
- "cached": 2171858944,
- "free": 2135388160,
- "inactive": 3226710016,
- "percent": 72.7,
- "shared": 477151232,
- "total": 7836200960,
- "used": 5700812800}
+ {"active": 2591764480,
+ "available": 3011506176,
+ "buffers": 380743680,
+ "cached": 2927734784,
+ "free": 3011506176,
+ "inactive": 3734249472,
+ "percent": 61.6,
+ "shared": 515334144,
+ "total": 7836188672,
+ "used": 4824682496}
Fields descriptions:
@@ -371,7 +320,7 @@ Fields descriptions:
Get a specific field::
# curl http://localhost:61208/api/3/mem/total
- {"total": 7836200960}
+ {"total": 7836188672}
GET memswap
-----------
@@ -379,13 +328,13 @@ GET memswap
Get plugin stats::
# curl http://localhost:61208/api/3/memswap
- {"free": 3843497984,
- "percent": 52.4,
- "sin": 10964152320,
- "sout": 16726073344,
+ {"free": 7375319040,
+ "percent": 8.7,
+ "sin": 44937216,
+ "sout": 747577344,
"time_since_update": 1,
"total": 8082419712,
- "used": 4238921728}
+ "used": 707100672}
Fields descriptions:
@@ -409,29 +358,29 @@ Get plugin stats::
# curl http://localhost:61208/api/3/network
[{"alias": None,
- "cumulative_cx": 631425138,
- "cumulative_rx": 315712569,
- "cumulative_tx": 315712569,
- "cx": 2492,
+ "cumulative_cx": 89411064,
+ "cumulative_rx": 44705532,
+ "cumulative_tx": 44705532,
+ "cx": 6622,
"interface_name": "lo",
"is_up": True,
"key": "interface_name",
- "rx": 1246,
+ "rx": 3311,
"speed": 0,
"time_since_update": 1,
- "tx": 1246},
+ "tx": 3311},
{"alias": None,
- "cumulative_cx": 10328347282,
- "cumulative_rx": 9698202574,
- "cumulative_tx": 630144708,
- "cx": 25906,
+ "cumulative_cx": 2052012520,
+ "cumulative_rx": 1919949329,
+ "cumulative_tx": 132063191,
+ "cx": 28380,
"interface_name": "wlp2s0",
"is_up": True,
"key": "interface_name",
- "rx": 20142,
+ "rx": 21325,
"speed": 0,
"time_since_update": 1,
- "tx": 5764}]
+ "tx": 7055}]
Fields descriptions:
@@ -450,31 +399,27 @@ Get a specific field::
# curl http://localhost:61208/api/3/network/interface_name
{"interface_name": ["lo",
"wlp2s0",
- "br-119e6ee04e05",
"br-87386b77b676",
"br_grafana",
+ "br-119e6ee04e05",
"docker0",
- "veth909d06e",
- "veth9b67642",
- "vethd7de7ad",
- "vboxnet0",
"mpqemubr0"]}
-Get a specific item when field matches the given value::
+Get a specific item when field matchs the given value::
# curl http://localhost:61208/api/3/network/interface_name/lo
{"lo": [{"alias": None,
- "cumulative_cx": 631425138,
- "cumulative_rx": 315712569,
- "cumulative_tx": 315712569,
- "cx": 2492,
+ "cumulative_cx": 89411064,
+ "cumulative_rx": 44705532,
+ "cumulative_tx": 44705532,
+ "cx": 6622,
"interface_name": "lo",
"is_up": True,
"key": "interface_name",
- "rx": 1246,
+ "rx": 3311,
"speed": 0,
"time_since_update": 1,
- "tx": 1246}]}
+ "tx": 3311}]}
GET now
-------
@@ -482,7 +427,7 @@ GET now
Get plugin stats::
# curl http://localhost:61208/api/3/now
- "2022-09-25 10:12:55 CEST"
+ "2022-10-16 14:53:36 CEST"
GET percpu
----------
@@ -493,29 +438,29 @@ Get plugin stats::
[{"cpu_number": 0,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 63.0,
+ "idle": 39.1,
"iowait": 0.0,
"irq": 0.0,
"key": "cpu_number",
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 1.0,
- "total": 37.0,
- "user": 9.0},
+ "system": 2.6,
+ "total": 60.9,
+ "user": 58.3},
{"cpu_number": 1,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 29.0,
+ "idle": 59.0,
"iowait": 0.0,
"irq": 0.0,
"key": "cpu_number",
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 1.0,
- "total": 71.0,
- "user": 43.0}]
+ "system": 1.7,
+ "total": 41.0,
+ "user": 39.3}]
Get a specific field::
@@ -534,7 +479,7 @@ Get plugin stats::
"port": 0,
"refresh": 30,
"rtt_warning": None,
- "status": 0.003687,
+ "status": 0.005856,
"timeout": 3}]
Get a specific field::
@@ -542,7 +487,7 @@ Get a specific field::
# curl http://localhost:61208/api/3/ports/host
{"host": ["192.168.0.254"]}
-Get a specific item when field matches the given value::
+Get a specific item when field matchs the given value::
# curl http://localhost:61208/api/3/ports/host/192.168.0.254
{"192.168.0.254": [{"description": "DefaultGateway",
@@ -551,7 +496,7 @@ Get a specific item when field matches the given value::
"port": 0,
"refresh": 30,
"rtt_warning": None,
- "status": 0.003687,
+ "status": 0.005856,
"timeout": 3}]}
GET processcount
@@ -560,12 +505,12 @@ GET processcount
Get plugin stats::
# curl http://localhost:61208/api/3/processcount
- {"pid_max": 0, "running": 1, "sleeping": 294, "thread": 1715, "total": 363}
+ {"pid_max": 0, "running": 1, "sleeping": 277, "thread": 1275, "total": 341}
Get a specific field::
# curl http://localhost:61208/api/3/processcount/total
- {"total": 363}
+ {"total": 341}
GET processlist
---------------
@@ -573,33 +518,51 @@ GET processlist
Get plugin stats::
# curl http://localhost:61208/api/3/processlist
- [{"cmdline": ["/snap/firefox/1877/usr/lib/firefox/firefox"],
+ [{"cmdline": ["/snap/firefox/1877/usr/lib/firefox/firefox",
+ "-contentproc",
+ "-childID",
+ "4",
+ "-isForBrowser",
+ "-prefsLen",
+ "35977",
+ "-prefMapSize",
+ "236080",
+ "-jsInitLen",
+ "246848",
+ "-parentBuildID",
+ "20220922230616",
+ "-appDir",
+ "/snap/firefox/1877/usr/lib/firefox/browser",
+ "{8b6f29ad-9cbd-4eac-aac5-a3a7552fe4c0}",
+ "4281",
+ "true",
+ "tab"],
"cpu_percent": 0.0,
- "cpu_times": pcputimes(user=968.12, system=309.91, children_user=723.63, children_system=106.35, iowait=0.0),
+ "cpu_times": pcputimes(user=523.33, system=98.59, children_user=0.0, children_system=0.0, iowait=0.0),
"gids": pgids(real=1000, effective=1000, saved=1000),
- "io_counters": [1140517888, 1305808896, 0, 0, 0],
+ "io_counters": [11357184, 0, 0, 0, 0],
"key": "pid",
- "memory_info": pmem(rss=489631744, vms=12905615360, shared=120008704, text=634880, lib=0, data=1056870400, dirty=0),
- "memory_percent": 6.248330619637402,
- "name": "firefox",
+ "memory_info": pmem(rss=478035968, vms=3425415168, shared=92233728, text=634880, lib=0, data=838303744, dirty=0),
+ "memory_percent": 6.100363174104035,
+ "name": "WebExtensions",
"nice": 0,
- "num_threads": 114,
- "pid": 477633,
+ "num_threads": 20,
+ "pid": 4719,
"status": "S",
"time_since_update": 1,
"username": "nicolargo"},
- {"cmdline": ["/usr/bin/gnome-shell"],
+ {"cmdline": ["/snap/firefox/1877/usr/lib/firefox/firefox"],
"cpu_percent": 0.0,
- "cpu_times": pcputimes(user=6381.53, system=1549.49, children_user=24871.71, children_system=6569.25, iowait=0.0),
+ "cpu_times": pcputimes(user=2225.75, system=781.08, children_user=1849.32, children_system=399.5, iowait=0.0),
"gids": pgids(real=1000, effective=1000, saved=1000),
- "io_counters": [14181123072, 15716446208, 0, 0, 0],
+ "io_counters": [1147966464, 3020849152, 0, 0, 0],
"key": "pid",
- "memory_info": pmem(rss=403861504, vms=5501358080, shared=47898624, text=8192, lib=0, data=563445760, dirty=0),
- "memory_percent": 5.153792074265538,
- "name": "gnome-shell",
+ "memory_info": pmem(rss=437329920, vms=13218963456, shared=132329472, text=634880, lib=0, data=1301897216, dirty=0),
+ "memory_percent": 5.580900847406243,
+ "name": "firefox",
"nice": 0,
- "num_threads": 14,
- "pid": 4784,
+ "num_threads": 126,
+ "pid": 4281,
"status": "S",
"time_since_update": 1,
"username": "nicolargo"}]
@@ -607,243 +570,186 @@ Get plugin stats::
Get a specific field::
# curl http://localhost:61208/api/3/processlist/pid
- {"pid": [477633,
- 4784,
- 477906,
- 371539,
- 478013,
- 371076,
- 378577,
- 371144,
- 534609,
- 478017,
- 535655,
- 535360,
- 8690,
- 491961,
- 318967,
- 371369,
- 174274,
- 477924,
- 27079,
- 371161,
- 7012,
- 371008,
- 385575,
- 535956,
- 535901,
- 525390,
- 535999,
- 371044,
- 516439,
- 4677,
- 536126,
- 378578,
- 385601,
- 5288,
- 2173,
- 138155,
- 294867,
- 86902,
- 27101,
- 231684,
- 536118,
- 231559,
- 451763,
- 231727,
- 478972,
- 364779,
- 454839,
- 143873,
- 371175,
- 490395,
- 451764,
- 343,
- 306104,
- 371055,
- 57024,
- 479017,
- 6654,
- 371492,
- 174164,
- 2410,
- 5060,
- 477843,
- 385574,
- 4955,
- 4950,
- 174166,
- 4954,
- 5295,
- 4882,
- 5075,
- 4985,
- 5320,
- 4953,
- 490414,
- 8896,
+ {"pid": [4719,
+ 4281,
+ 17501,
+ 4494,
+ 107498,
+ 10818,
+ 3549,
+ 17308,
+ 17347,
+ 4498,
+ 5818,
+ 50586,
+ 4463,
+ 107499,
+ 19717,
+ 17233,
+ 107901,
+ 17346,
+ 11646,
+ 109608,
+ 109513,
+ 109404,
+ 109647,
+ 17274,
+ 17754,
+ 3499,
+ 9453,
+ 58814,
+ 17566,
+ 2245,
+ 109831,
+ 17755,
+ 5126,
+ 17373,
+ 2429,
+ 49129,
+ 3844,
+ 4440,
+ 51440,
+ 17292,
+ 3651,
+ 5659,
+ 1405,
+ 4062,
+ 4055,
+ 1615,
+ 3627,
+ 3364,
+ 1567,
+ 3744,
+ 4977,
+ 1539,
+ 1381,
+ 3663,
+ 3737,
+ 2371,
+ 1369,
+ 3743,
+ 3806,
+ 17237,
+ 1945,
+ 3958,
+ 3618,
+ 2412,
+ 17238,
+ 3592,
+ 1391,
+ 3760,
+ 4087,
+ 1415,
1,
- 4980,
- 8716,
- 1234,
- 8974,
- 490455,
- 1255,
- 4592,
- 9249,
- 9030,
- 4581,
- 5151,
- 4859,
- 1282,
- 371013,
- 4850,
- 4868,
- 530054,
- 1283,
- 27046,
- 21750,
- 12787,
- 4562,
- 4608,
- 1430,
- 4762,
- 4963,
- 445656,
- 8689,
- 21749,
- 371014,
- 5774,
- 4894,
- 9250,
- 4600,
- 4770,
- 2107,
- 2894,
- 1387,
- 5031,
- 13199,
- 1893,
- 13659,
- 8633,
- 1233,
- 7033,
- 13217,
- 5132,
- 1883,
- 4956,
- 7265,
- 1080,
- 388,
- 1431,
- 4610,
- 4814,
- 231540,
- 231642,
- 231697,
- 4958,
- 8648,
- 1278,
- 4901,
- 5078,
- 1216,
- 4864,
- 5044,
- 1229,
- 1242,
- 2370,
- 4833,
- 4949,
- 4952,
- 371324,
- 27078,
- 4809,
- 2334,
- 1251,
- 4678,
- 8584,
- 4822,
- 4957,
- 5054,
- 294892,
- 4787,
- 4951,
- 8583,
- 1277,
- 5085,
- 5160,
- 1256,
- 4972,
- 4615,
- 4938,
- 4683,
- 294886,
- 8600,
- 4796,
- 4848,
- 4970,
- 1225,
- 60479,
- 4803,
- 536103,
- 1244,
- 4795,
- 371029,
- 1260,
- 8936,
- 1264,
- 174259,
- 4749,
- 1445,
- 98466,
- 1232,
- 8860,
- 1613,
- 4589,
- 1077,
- 1285,
- 5176,
- 2897,
- 1081,
- 2112,
- 2154,
- 71513,
- 4590,
- 2131,
- 1088,
- 2367,
- 1090,
- 1228,
- 2368,
- 1217,
- 371016,
- 536125,
- 1949,
- 8586,