determining max process slots at runtime

From: Matthew Love (matthew@networkharmoni.com.au)
Date: Wed Mar 14 2001 - 21:23:07 EST


hi

is it possible to determine the maximum number of processes at runtime?
I know about #define NR_TASKS, but that might not work if the binary is run
on a different machine than the one the program was compiled on.

PS
 I'm not looking for the maximum number of processes per user. I've found
that
by getrusage().

TIA

matthew love
software engineer
networkharmoni pty ltd.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 21:00:17 EST