lsmem: implement --summary and more tests

This commit is contained in:
Foorack
2025-02-09 16:53:32 +01:00
parent fd945feaf7
commit 70849a620a
6 changed files with 96 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
RANGE SIZE STATE REMOVABLE BLOCK
0x0000000000000000-0x0000000037ffffff 896M online yes 0-6
0x0000000100000000-0x00000004afffffff 14.8G online yes 32-149
Memory block size: 128M
Total online memory: 15.6G
Total offline memory: 0B

View File

@@ -0,0 +1,3 @@
Memory block size: 128M
Total online memory: 15.6G
Total offline memory: 0B

View File

@@ -0,0 +1,3 @@
RANGE SIZE STATE REMOVABLE BLOCK
0x0000000000000000-0x0000000037ffffff 896M online yes 0-6
0x0000000100000000-0x00000004afffffff 14.8G online yes 32-149

View File

@@ -0,0 +1,3 @@
Memory block size: 128M
Total online memory: 15.6G
Total offline memory: 0B