From c7fca63f2ddc8fb7ffb27f64389edafe0303e875 Mon Sep 17 00:00:00 2001 From: shawn Date: Wed, 29 Nov 2023 15:12:03 +0800 Subject: [PATCH] Update README.rst fix psutil.cpu_times() output --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 98a911918..12bf64254 100644 --- a/README.rst +++ b/README.rst @@ -173,7 +173,7 @@ CPU >>> import psutil >>> >>> psutil.cpu_times() - scputimes(user=3961.46, nice=169.729, system=2150.659, idle=16900.540, iowait=629.59, irq=0.0, softirq=19.42, steal=0.0, guest=0, nice=0.0) + scputimes(user=3961.46, nice=169.729, system=2150.659, idle=16900.540, iowait=629.59, irq=0.0, softirq=19.42, steal=0.0, guest=0, guest_nice=0.0) >>> >>> for x in range(3): ... psutil.cpu_percent(interval=1)