memory_compare script doesn't work properly on systems with multiple memory slots installed

Bug #1204013 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Medium
Unassigned

Bug Description

After changing the memory_compare script to use lshw to find the installed memory size, we are now finding some systems return 0 for the installed memory. This seems to be because they have multiple 'banks' of memory installed and lshw reports this in a slightly different way, with a parent 'memory' node and child 'bank' nodes. The script should handle this eventuality.

Tags: scripts

Related branches

Daniel Manrique (roadmr)
tags: added: scripts
Daniel Manrique (roadmr)
Changed in checkbox:
status: New → Fix Committed
Daniel Manrique (roadmr)
Changed in checkbox:
importance: Undecided → Medium
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.