Graphical system monitor for linux, including information about CPU, GPU, Memory, HDD/SDD and your network connections. Similar to windows task manager.
GNU General Public License v3.0
294
stars
25
forks
source link
IndexError: index 4 is out of bounds for axis 0 with size 4 #17
$ python3 sysmon.py
Traceback (most recent call last):
File "sysmon.py", line 613, in <module>
main()
File "sysmon.py", line 607, in main
main = MainWindow()
File "sysmon.py", line 111, in __init__
self.plot_cpuinfo()
File "sysmon.py", line 250, in plot_cpuinfo
self.cpuinfo[-1, :] = self.s.refresh_stat() * 100
File "/home/normanr/src/sysmon/src/gather_data.py", line 363, in refresh_stat
self.get_cpu_clock_speed()
File "/home/normanr/src/sysmon/src/gather_data.py", line 221, in get_cpu_clock_speed
self.cpu_clock[id] = int(process)
IndexError: index 4 is out of bounds for axis 0 with size 4
For reasons I don't 100% understand: hyper-threading gets disabled when I suspect my laptop (at least I think that's the cause). Here's is the relevant content from /proc:
For reasons I don't 100% understand: hyper-threading gets disabled when I suspect my laptop (at least I think that's the cause). Here's is the relevant content from /proc: