Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I run

$ ulimit -t 5
$ yes

then yes gets killed after 5 seconds, but man and less/more don't.

Why are those two immune to ulimit?

share|improve this question
up vote 2 down vote accepted

My guess is that it's because you are limiting CPU time and these apps spend most of their time waiting on input so they don't use much CPU. Try more-ing a largish file and holding down space until ps shows you have used 5 seconds of CPU.

share|improve this answer
I think you are correct. Thanks – Grezzo Dec 13 '12 at 17:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .