The regex we do to look for system information causes pharlap to crash on start up if it can't find an entry. For example, kvm machines don't have "CPU max MHz" entry in the output of lscpu.
[02:26] liveuser@localhost ~ $ pharlap
Traceback (most recent call last):
File "/usr/bin/pharlap", line 156, in <module>
'clockMax': re.search('CPU max MHz:\s+(.*)', cpuinfo).group(1),
AttributeError: 'NoneType' object has no attribute 'group'
The regex we do to look for system information causes pharlap to crash on start up if it can't find an entry. For example, kvm machines don't have "CPU max MHz" entry in the output of lscpu.