sysinfo
sysinfo copied to clipboard
add detailed decode for separed memories
There are only accept the first meet of memory type and speed, but there may have two or more different kind of memories installed into system at same time but there can not describe it.
So I add a Memories
property to store the memory detailed information (I only pick some general use fields to decode)
Hello @Haraguroicha and thanks for your contribution!
Still not much time to work on this properly, but at least I gave it a quick compile to see how it looks.
But, tested on 2 different machines, I just get panic: runtime error: slice bounds out of range
So, it will need more work and testing before I could merge it.
Hi @zcalusic , thank for your response, I think I will test on more machine as I can and push addition patch to this PR.
Hi @zcalusic, I think I can't reproduce the panic: runtime error: slice bounds out of range
in Dell OptiPlex 7060 and ThinkPad X1 Carbon, it might the DMI data looks different between yours hardware environment and mine, could you please paste the trace log for this PR, and I will push addition patch to prevent it happened again, thanks.
Hi @zcalusic, I think I can't reproduce the
panic: runtime error: slice bounds out of range
in Dell OptiPlex 7060 and ThinkPad X1 Carbon, it might the DMI data looks different between yours hardware environment and mine, could you please paste the trace log for this PR, and I will push addition patch to prevent it happened again, thanks.
try virtual machine; my virtual machine also has this issue
Hi @zcalusic, I think I can't reproduce the
panic: runtime error: slice bounds out of range
in Dell OptiPlex 7060 and ThinkPad X1 Carbon, it might the DMI data looks different between yours hardware environment and mine, could you please paste the trace log for this PR, and I will push addition patch to prevent it happened again, thanks.
try virtual machine; my virtual machine also has this issue