mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-23 21:55:11 +02:00
Merge pull request #669 from Frederick888/fix-num-cpus
Refresh sysinfo CPU
This commit is contained in:
commit
b59e34f159
@ -211,6 +211,7 @@ impl DataCollector {
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
{
|
||||
if self.widgets_to_harvest.use_proc {
|
||||
self.sys.refresh_cpu();
|
||||
self.sys.refresh_processes();
|
||||
}
|
||||
if self.widgets_to_harvest.use_temp {
|
||||
|
Loading…
x
Reference in New Issue
Block a user