We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a769d8 commit a5ec670Copy full SHA for a5ec670
1 file changed
plugins/system.py
@@ -51,7 +51,7 @@ def system(reply, message):
51
process = psutil.Process(os.getpid())
52
53
# get the data we need using the Process we got
54
- cpu_usage = process.cpu_percent()
+ cpu_usage = process.cpu_percent(1)
55
thread_count = process.num_threads()
56
memory_usage = format_bytes(process.memory_info()[0])
57
uptime = timedelta(seconds=round(time.time() - process.create_time()))
0 commit comments