When calling cpuinfo.get_cpu_info() this package seems to try to run the command sysinfo -cpu if it finds that such a command is available. This is not a default package on Ubuntu 18.04 but after installing the package sysinfo using sudo apt install sysinfo, there is a script called /usr/bin/sysinfo
This script invokes a mono program mono Sysinfo.exe which seems to ignore all command line arguments.
The GUI shows the following about information:
"Sysinfo 0.7 Copyright Nil Gradisnik 2006 ghaefb@gmail.com"
http://sourceforge.net/projects/gsysinfo
Since this GUI program is invoked, the call to get_cpu_info() hangs until the GUI is terminated.
Since this package is used in a number of other tools and packages, this is a real problem on systems where the "sysinfo" package is installed.
When calling cpuinfo.get_cpu_info() this package seems to try to run the command
sysinfo -cpu
if it finds that such a command is available. This is not a default package on Ubuntu 18.04 but after installing the package sysinfo usingsudo apt install sysinfo
, there is a script called/usr/bin/sysinfo
This script invokes a mono programmono Sysinfo.exe
which seems to ignore all command line arguments. The GUI shows the following about information: "Sysinfo 0.7 Copyright Nil Gradisnik 2006 ghaefb@gmail.com" http://sourceforge.net/projects/gsysinfoSince this GUI program is invoked, the call to
get_cpu_info()
hangs until the GUI is terminated. Since this package is used in a number of other tools and packages, this is a real problem on systems where the "sysinfo" package is installed.