Closed dzienisz closed 6 years ago
Wow.. That's a serious amount of CPU usage. Can you reply with your Windows 10 version and Hyper version? That will help me debug this.
Thanks!
The nevewst windows and nevewst hyper (current)
29.08.2017 5:52 PM "Corbin Matschull" notifications@github.com napisał(a):
Wow.. That's a serious amount of CPU usage. Can you reply with your Windows 10 version and Hyper version? That will help me debug this.
Thanks!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Hyperline/hyperline/issues/114#issuecomment-325708484, or mute the thread https://github.com/notifications/unsubscribe-auth/ADW8WLHbXH_Cwl_02X6HHJn7QHbLNQO8ks5sdDOzgaJpZM4PFz5u .
Okay current versions of both, not a problem. Thanks.
I will work on getting this debugged with a windows workstation.
I've narrowed it down to the network
plugin causing the issue by isolating each of the stock plugins. When I launch Hyper with Hyperline configured to use everything but network
, this issue does not occur.
hyperline: {
color: 'black',
plugins: [
{ name: 'hostname', options: { color: 'lightBlue' }},
{ name: 'memory', options: { color: 'white' }},
{ name: 'uptime', options: { color: 'lightYellow' }},
{ name: 'cpu', options: { colors: { high: 'lightRed', moderate: 'lightYellow', low: 'lightGreen' }}},
// { name: 'network', options: { color: 'lightCyan' }} // causes memory issues by spawning WMIC a l o t
{ name: 'battery', options: { colors: { fine: 'lightGreen', critical: 'lightRed' }}}
]
}
Hmm very interesting. I'll do some research on WMI Host and how it inter-operates with the network plugin.
Thanks @Xemiru
+1 @Xemiru Same here for your information on Windows 7
Same problem for me. Windows 10 Pro 64-bit Version 1703, OS Build 15063.608 Hyper 1.4.6
Any chance to make hyperline refresh less frequent? I could not find any options to do this.
Currently @iblazhko the only method to change refresh rate of the network plugin is to change:
componentDidMount() {
this.getSpeed()
this.interval = setInterval(() => this.getSpeed(), 1500)
// ^ This line, change the number (in milliseconds) to desired number.
}
We're working on a LOT better method of doing this coming in a new update.
I had the same issue, waiting for a fix. It's a really useful plugin. :)
I just notices that hyperline plugin create WMI Provider Host on my Windows 10 PC and use a lot of processor power for literally nothing.
Also Antimalware Service is active during that WMI Provider Host time.