no memory information on solaris
|For junior contributor:||No|
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/Solaris.pm 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
#2 Updated by Guillaume Bougard almost 2 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/Solaris.pm to confirm this fix the bug.
#3 Updated by Guillaume Rousse almost 2 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.