📄PC Memory

Random Access Memory (RAM)

This lists information about the PC memory that is parsed by Inxi. You can use the below properties to learn more about its information.

Module name according to each operating system:

OS
Module name

Linux

011#Info > 002#Memory

Windows

Win32_OperatingSystem

macOS

SPHardwareDataType

You can call the module as follows:

HardwareInfo.RAM.<property>

which <property> is:

Property
Type
Description

TotalMemory

String

Total memory1

UsedMemory

String

Used memory1 3

FreeMemory

String

Free memory1 2 3

Memory is automatically GiB in Inxi on Unix systems, and is in bytes on Windows systems.

Compatibility notes:

  • Free memory is not implemented yet on Linux.

  • Used memory and free memory properties are not implemented yet on macOS.

Last updated