A simple memory testing utility

README update

+6 -9
+6 -9
README.md
··· 1 1 # memtest 2 2 3 - [![build-and-release Actions Status](https://github.com/jeduardo/memtest/workflows/build-and-release/badge.svg)](https://github.com/jeduardo/memtest/actions) 4 - 5 3 This is a simple utility which allocates as much megabytes of RAM as requested, pausing 0 or more seconds during allocation. It was designed to verify the progression of memory allocation on Linux environments under cgroups constraints for memory usage. 6 4 7 5 ## Building 8 6 9 7 The following dependencies are required to build the software: gcc, automake, and [valgrind](http://valgrind.org/) for the small test suite. 10 8 11 - * `make all` to build, test, and prepare the program for release. 12 - * `make test` to build and test the program. 13 - * `make memtest` to just build the program. 14 - * `make clean` to clean the entire workspace. 15 - 9 + - `make all` to build, test, and prepare the program for release. 10 + - `make test` to build and test the program. 11 + - `make memtest` to just build the program. 12 + - `make clean` to clean the entire workspace. 16 13 17 14 ## Using 18 15 19 16 The program accepts two arguments: 20 17 21 - * -m: memory size in MB, required. 22 - * -s: number of seconds to wait between allocations, optional. 18 + - -m: memory size in MB, required. 19 + - -s: number of seconds to wait between allocations, optional. 23 20 24 21 ### Sample run 25 22