2021-05-31 11:30:59 +02:00
2021-05-31 09:58:24 +02:00
2021-05-31 09:58:24 +02:00
2021-05-31 09:58:24 +02:00
2021-05-31 09:58:24 +02:00
2021-05-31 10:40:05 +02:00
2021-05-31 11:30:59 +02:00
2021-05-31 09:58:24 +02:00
2021-05-31 11:22:40 +02:00
2021-05-31 09:58:24 +02:00
2021-05-31 09:58:24 +02:00

MonitorRam

A simple program that monitors real memory usage of processes. For example, if you have multiple processes, like numerous game servers, that all begin with the same prefix, you can type that prefix as a command-line argument. The program will monitor up to 30 different processes. In my case, I have a few game servers that all share "iw5" as the name prefix. I would type ./prog iw5 to monitor the actual memory usage of all my game servers. In my case, each process should not exceed more than 1 GiB of real memory. If that's the case, a memory leak has occurred, and this program will send a request to terminate that process gracefully (SIGTERM). Max memory usage is defined in monitor.c

How to?

Compile from source using the provided makefile ./prog

Description
A simple program that monitors real memory usage of processes
Readme BSD-3-Clause 879 KiB
Languages
C 69.5%
Dockerfile 18.6%
Lua 11.9%