Dynamically prioritizes CPU or memory access out of a given command.

Can be run as a non-root user.

Instructions on how to compile and usage are provided inside the code right here.

-EDIT- Just improved the code with improved nice sorting, detection and configuration.