summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2019-04-11 23:09:41 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2019-04-11 23:09:41 +0200
commit50defe14d1dabba3c048eaa5d8789239b0d7671f (patch)
treea71701ad5ed85900b4fdc7a0ae3fbd01984d99d3
parent8ac80188472e8cf6889a6e4aeac2d09cdd19d630 (diff)
downloadpsutil-50defe14d1dabba3c048eaa5d8789239b0d7671f.tar.gz
update HISTORY
-rw-r--r--HISTORY.rst2
-rw-r--r--README.rst2
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY.rst b/HISTORY.rst
index 2d24ef95..b9393d17 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -5,6 +5,7 @@
**Enhancements**
+- 604_: [UNIX, Windows] add new psutil.getloadavg() returning system load
- 1404_: [Linux] cpu_count(logical=False) uses a second method (read from
`/sys/devices/system/cpu/cpu[0-9]/topology/core_id`) in order to determine
the number of physical CPUs in case /proc/cpuinfo does not provide this info.
@@ -14,7 +15,6 @@
new constants: IOPRIO_VERYLOW, IOPRIO_LOW, IOPRIO_NORMAL, IOPRIO_HIGH.
Also it was not possible to set high I/O priority (not it is).
- 1478_: add make command to re-run tests failed on last run.
-- 604: [UNIX, Windows] add new psutil.getloadavg() returning system load
average calculation. (patch by Ammar Askar)
**Bug fixes**
diff --git a/README.rst b/README.rst
index f834eb13..c7003547 100644
--- a/README.rst
+++ b/README.rst
@@ -180,6 +180,8 @@ CPU
>>> psutil.cpu_freq()
scpufreq(current=931.42925, min=800.0, max=3500.0)
>>>
+ >>> psutil.getloadavg() # also on Windows (emulated)
+ (3.14, 3.89, 4.67)
Memory
------