summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-09-21 21:00:10 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2020-09-21 21:00:10 +0200
commitba0c0ab967b0f524807cedf06554b94b7aba3d70 (patch)
treeffe858bd1f94b1cfc931506490456da4efd35b4d /docs
parent1d5073aac29a3f50c19b864d22688cf20447f1e9 (diff)
downloadpsutil-ba0c0ab967b0f524807cedf06554b94b7aba3d70.tar.gz
update doc for #1830 (net_if_stats() isup check if NIC is running)
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst
index c6bbe592..fa55b025 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -687,7 +687,8 @@ Network
system as a dictionary whose keys are the NIC names and value is a named tuple
with the following fields:
- - **isup**: a bool indicating whether the NIC is up and running.
+ - **isup**: a bool indicating whether the NIC is up and running (meaning
+ ethernet cable or Wi-Fi is connected).
- **duplex**: the duplex communication type;
it can be either :const:`NIC_DUPLEX_FULL`, :const:`NIC_DUPLEX_HALF` or
:const:`NIC_DUPLEX_UNKNOWN`.
@@ -706,6 +707,7 @@ Network
.. versionadded:: 3.0.0
+ .. versionchanged:: 5.7.3 `isup` on UNIX also checks whether the NIC is running.
Sensors
-------