#virtual-memory #linux-kernel #monitoring #swap #information #display #detailed

app zmem

Zmem is a Linux memory monitoring program that displays detailed information about virtual memory

1 unstable release

0.2.1 Dec 8, 2023

#193 in Unix APIs

GPL-3.0 license

60KB
355 lines

Zmem: Linux Memory Monitoring

Zmem is a tool for monitoring virtual memory on Linux systems, focused specifically on swap usage. With detailed per-process swap usage and zswap statistics like compression ratio and zswap compressed cache, zmem helps keep track of your system's memory usage and optimize performance.

The name Zmem comes from the fact that it is inspired by Linux kernel features zswap and zram, both of which start with the letter Z. Zmem similarly focuses on memory-related information, hence the name.

[!WARNING] This program is a work in progress and may contain bugs. Use at your own risk.

Installation

git clone http://github.com/xeome/Zmem
cd Zmem
cargo install --path .

Usage

To use Zmem, simply run the command below in your terminal:

zmem

or if you want per-process swap usage:

zmem -p

zmem

Contributing

We welcome contributions from the community to improve Zmem. If you have any ideas for new features, suggestions for improvements, or you have discovered a bug, please feel free to open an issue or submit a pull request.

When submitting pull requests, please make sure that your code adheres to the project's coding standards and guidelines. It is recommended that you measure the tool's performance using appropriate metrics and benchmarks, such as by using the time target/release/zmem command. This project is performance-sensitive, so it is important to ensure that any changes do not negatively impact performance.

Before making any significant changes to the project, it is best to open an issue and discuss your proposal with the project maintainers. This will help you get feedback, ensure that your changes align with the project's goals, and avoid duplicating work.

Thank you for your interest in contributing to Zmem. Your help is appreciated, and we look forward to working with you.

License

Zmem is licensed under the GPL3 License. See LICENSE for more information.

Thank you for using Zmem!

Dependencies

~4–15MB
~160K SLoC