On Mon, Apr 09, 2001 at 05:24:19PM -0700, Daniel Stutz wrote:
> How can i get the max. number of tasks in kernel 2.4?
> 
> In 2.2 there was a macro NR_TASKS

2.4 has no hardcoded limit on the number of processes. So NR_TASKS is
not necessary any longer.
But you can read the current value of max threads from
/proc/sys/kernel/threads-max.

Robert

-- 
Robert Schiele                  mailto:[EMAIL PROTECTED]
Tel./Fax: +49-621-10059         http://webrum.uni-mannheim.de/math/rschiele/

PGP signature

Reply via email to