Bug #2907

no memory information on solaris

Added by Nico LAS about 3 years ago. Updated over 2 years ago.

Target version:
Start date:
Due date:
% Done:


For junior contributor:


On solaris on a physical machine i don't have memory information
nothing on the xml, nothing on glpi

I think the problem came from lib/FusionInventory/Agent/Tools/ on getPrtdiagInfos fonction
in attachment the prtdiag from this solaris
root# uname -a
SunOS xxxxxxxxx 5.10 Generic_141444-09 sun4u sparc SUNW,SPARC-Enterprise

prtdiag.log Magnifier (1.81 KB) Nico LAS, 03/20/2015 03:33 PM

fusioninventory-agent-2.3.x-2907-bugfix.patch Magnifier (954 Bytes) Guillaume Bougard, 06/05/2015 08:56 AM


#1 Updated by Guillaume Bougard almost 3 years ago

Hello Nico LAS,

I'm investigating this case. Can you confirm fusioninventory-agent used version ? Can you also attach the XML generated by fusioninventory-inventory command ?

Thank you

#2 Updated by Guillaume Bougard almost 3 years ago

Hi Nico LAS,

I'll propose a fix for the next release. I pushed a fix in my git clone and I'll request a merge for next 2.3.x release. Btw you still can try to apply the attached patch on Tools/ to confirm this fix the bug.

Thank you

#3 Updated by Guillaume Rousse almost 3 years ago

  • Status changed from New to Resolved
  • Target version set to 2.3.17
  • % Done changed from 0 to 100

The patch is correct, and the provided sample also shows we had a bug in parsing logic: we should use the second size value (dimm size) instead of the first one (available size).
Provided patch committed in #ef61969.
Additional fix committed in #25a33df.

#4 Updated by Nico LAS almost 3 years ago

Hi Guillaume
If you use DIM size, you have tu multiply this size by # of DIMMs
the installed memory size is "DIMM size" x # "of DIMMs"

#5 Updated by Guillaume Rousse over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF