Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to open sysmontask #63

Closed
Jonesyj83 opened this issue May 15, 2021 · 6 comments
Closed

Error trying to open sysmontask #63

Jonesyj83 opened this issue May 15, 2021 · 6 comments

Comments

@Jonesyj83
Copy link

Have install as the instructions have said but get this error when I try to run sysmontask

5.8.0 cpuInit Traceback (most recent call last): File "/usr/bin/sysmontask", line 11, in <module> load_entry_point('sysmontask==1.3.9', 'console_scripts', 'sysmontask')() File "/usr/lib/python3/dist-packages/sysmontask/sysmontask.py", line 796, in start main=myclass() File "/usr/lib/python3/dist-packages/sysmontask/sysmontask.py", line 130, in __init__ self.cpuInit() File "/usr/lib/python3/dist-packages/sysmontask/cpu.py", line 129, in cpuInit if column < self.num_of_column_per_row[self.cpu_logical_cores]: KeyError: 40

@KrispyCamel4u
Copy link
Owner

Have install as the instructions have said but get this error when I try to run sysmontask

5.8.0 cpuInit Traceback (most recent call last): File "/usr/bin/sysmontask", line 11, in <module> load_entry_point('sysmontask==1.3.9', 'console_scripts', 'sysmontask')() File "/usr/lib/python3/dist-packages/sysmontask/sysmontask.py", line 796, in start main=myclass() File "/usr/lib/python3/dist-packages/sysmontask/sysmontask.py", line 130, in __init__ self.cpuInit() File "/usr/lib/python3/dist-packages/sysmontask/cpu.py", line 129, in cpuInit if column < self.num_of_column_per_row[self.cpu_logical_cores]: KeyError: 40

hi, thanks
Can you specify the the cpu and number of cores it has?

@Jonesyj83
Copy link
Author

it's dual Intel Xeon e5-2680 v2 and has 10 cores each

@KrispyCamel4u
Copy link
Owner

Thanks, I will fix it soon.

@GrzegorzWRO
Copy link

Thanks, I will fix it soon.

Hi, I have something similar

5.8.0
cpuInit
Failed to get Cache information
Traceback (most recent call last):
File "/bin/sysmontask", line 11, in
load_entry_point('sysmontask==1.3.9', 'console_scripts', 'sysmontask')()
File "/usr/lib/python3/dist-packages/sysmontask/sysmontask.py", line 796, in start
main=myclass()
File "/usr/lib/python3/dist-packages/sysmontask/sysmontask.py", line 130, in init
self.cpuInit()
File "/usr/lib/python3/dist-packages/sysmontask/cpu.py", line 129, in cpuInit
if column < self.num_of_column_per_row[self.cpu_logical_cores]:
KeyError: 36

I have xeon E5-2699V3 18 cores

@CryptoBlockchainTechnologies
sysmontask
5.8.0
cpuInit
Traceback (most recent call last):
  File "/usr/bin/sysmontask", line 11, in <module>
    load_entry_point('sysmontask==1.3.9', 'console_scripts', 'sysmontask')()
  File "/usr/lib/python3/dist-packages/sysmontask/sysmontask.py", line 796, in start
    main=myclass()
  File "/usr/lib/python3/dist-packages/sysmontask/sysmontask.py", line 130, in __init__
    self.cpuInit()
  File "/usr/lib/python3/dist-packages/sysmontask/cpu.py", line 129, in cpuInit
    if column < self.num_of_column_per_row[self.cpu_logical_cores]:
KeyError: 72

I have 2xE5-2699V3 18cores. So 36 cores, 72 threads. Looks like error is number of threads.

@KrispyCamel4u
Copy link
Owner

Now you can use sysmontask with the new release.
Please verify that it is solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants