Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 261 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 261 Bytes

rlimit_cpu

Limits the maximum amount of CPU time that a process can use.

notes

This counter is per-PID, so doing a fork resets the counter.

usage

$ ./rlimit_cpu 1 sh
$ while true; do true; done
[1]    9442 killed     ./rlimit_cpu 1 sh