Skip to content

Commit

Permalink
Update README.rst (#2330)
Browse files Browse the repository at this point in the history
fix psutil.cpu_times() output
  • Loading branch information
shawn-bluce authored Nov 29, 2023
1 parent ccdb775 commit 4407540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4407540

Please sign in to comment.