3

Is there a way to restrict CPU time (duration) for all processes which are invoked by executables that are located in a certain directory?

I would like to be able to auto-kill all applications which certain users start in their home directories after a certain amount of time (for example after 10 minutes).

1 Answer 1

0

What you want is in this answer and this answer

The only thing I'll add is the -u user option for ps eg:

ps -u <username>

to search processes started by a user.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.