Why does lshw command showing wrong memory information in Azure and Hyper-V instance with the "RAM size" > 32 GB?
Issue
lshw
command showing incorrect memory information where the system has 192GB of RAM.
less 0070-lshw_json_C_memory | grep size
"size" : 65536,
"size" : 9790498482946048, < bytes > <<<----- 9.7 Pib
"size" : 1073741824
"size" : 1958092821495808
"size" : 1958092822544384
"size" : 1958092823592960
"size" : 1958092824641536
"size" : 1958092825690112
"size" : 33291239424
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Microsoft Azure
andHyper-V
RAM SIZE
> 32 GB
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.