Skip to content

Memory page doesn't give information about the physically installed memory #36

@Epig-is-a-llama

Description

@Epig-is-a-llama

Currently the information provided by the memory page is limited, most of the information it gives is largely missing key details. The most useful information the average user would be able to extract would be their total memory by adding the size of the two fields together, this gives the same information as any program such as system monitor.

Image

The fundamental issue comes back to the command used, lsmem does not provide a great deal of data, I would therefore like to suggest switching the command to something that provides more information such as lshw -class memory -json. This however has its own issues, lshw does not give the full readout of information if not run as sudo. Without being run as sudo the data available is the same as lsmem and thus is not particularly useful. Furthermore it does not seem that it is installed by default on most systems so would have to become a dependency of the project.

If however the trade-off of needing to run a command as sudo and require another dependency would in-fact be worth the extra details this provides I would be happy to help with implementing this feature once my current PR (#35) is wrapped up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions