Open lfreist opened 10 months ago
Hi, I just did some research about that but it seems like it's not possible to got all the informations we want without administrator right, the only thing I found is use :
lshw -C memory
that display a little bit of informations like what we want however there are a chance that we don't got all :
$ lshw -C memory
ATTENTION : ce programme devrait être lancé en tant que super-utilisateur.
*-memory
description: Mémoire système
identifiant matériel: 0
taille: 15GiB
*-memory NON-RÉCLAMÉ
description: RAM memory
produit: Comet Lake PCH Shared SRAM
fabricant: Intel Corporation
identifiant matériel: 14.2
information bus: pci@0000:00:14.2
version: 00
bits: 64 bits
horloge: 33MHz (30.3ns)
fonctionnalités: bus_master cap_list
configuration : latency=0
ressources : mémoireE/S:620-61f mémoireE/S:620-61f mémoire:6204104000-6204105fff mémoire:620410a000-620410afff
ATTENTION : les informations sont potentiellement incomplètes ou erronées, vous devriez lancer ce programme en tant que super-utilisateur.```
For Linux, only memory size, available and free memory is available.
TODO: Add information for each memory module (DIMM) similar to windows. Line to start with