[CALUG] PTHREAD_THREAD_MAX on Red Hat.

junekis@comcast.net junekis at comcast.net
Thu Dec 29 15:20:01 CST 2005


My naive approach would be to download the source files for the kernel.

Then I would use the find command to run through the source directories looking for all -name "*.h" files, and use the -exec grep PTHREAD_THREAD_MAX '{}'  \; option to search through each file found for the desired string.

if it ain't in an include file with a .h extension, try -name "*.c", or just manually cd to each directory and grep for the string at the command line.


 -------------- Original message ----------------------
From: "Grindell, Joan M." <GrindellJ at SEC.GOV>
> 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?
> 
> Many thanks,
> And a happy new year.
> Joan 
> _______________________________________________
> Columbia, Maryland Linux User's Group (CALUG) mailing list
> CALUG Website: http://www.calug.com
> Email postings to: lug at calug.com
> Change your list subscription options: http://calug.com/mailman/listinfo""/lug




More information about the lug mailing list