kiranvizru / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

module import failure on solaris 11 #496

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
https://groups.google.com/forum/#!topic/psutil/KDfaIHjdX9Q

Original issue reported on code.google.com by g.rodola on 16 Apr 2014 at 3:03

GoogleCodeExporter commented 9 years ago
After investigating this issue a bit more, I discovered that the instance IDs 
used by kstat are not guaranteed to start at 0 (which the C-module implies).
The IDs depend on the form of machine. For two virtual machines I created in a 
distributed environment overhere, I saw large differences in the configuration 
information for the CPUs
The instance IDs on one instance were 1, 2, 3, 4 and on the other instance 
55,75,77,123

Original comment by bram.cra...@gmail.com on 10 Oct 2014 at 9:22