[CALUG] PTHREAD_THREAD_MAX on Red Hat.

Mordechai T. Abzug morty at frakir.org
Thu Dec 29 12:51:47 CST 2005


On Thu, Dec 29, 2005 at 01:07:10PM -0500, Grindell, Joan M. wrote:
> If anyone is familiar with the Red Hat kernel, would you know the answer
> to this question:
> 
> We are running Red Hat AS version 4 update1.  Our users have asked me
> what the PTHREAD_THREAD_MAX value is.  The kernel was installed from the
> Red Hat installation discs.  Is there a command or a location on the
> server that will yield this information?

cat /proc/sys/kernel/threads-max

If PTHREAD_THREAD_MAX is a system CPP value, you should be able to do:

grep -r PTHREAD_THREAD_MAX /usr/include

Can't find it on my systems, though.  Although admittedly, I'm not
running RHEL AS 4.

- Morty


More information about the lug mailing list