[Fusioninventory-devel] /usr/sbin/system_profiler timeout on MacOSX

David Durieux d.durieux at siprossii.com
Wed Apr 3 07:01:09 UTC 2013


In MacOSX(agent 2.2.x), the function getSystemProfilerInfos() run 
command '/usr/sbin/system_profiler' and can make 2 or 3 minutes to 
complete get information. We must increase 'backend-collect-timeout' in 
agent config.


Another problem is MacOSX run this command many time (one time for each 
CPU, Memory, storage and video) perhaps run only one time and store 
result in memory to parse it when modules require it can be a good idea?


David
++




More information about the Fusioninventory-devel mailing list