Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to find the maximum threads per processor in the following systems. So far

1. Redhat Linux         -> cat /proc/sys/kernel/threads-max
2. HPUX 11.31 [ia64]    -> kctune | grep max_thread_proc
3. Solaris 10 [ SPARC ] ->  ??
4. AIX 6.1(TL5)         ->  ??

Please help me find out for Solaris and AIX.

share|improve this question

AIX's is in the file /etc/security/limits. Say you wanted to work with the root user, and limit / set the number of threads per processor. The file is made up of stanzas:

    fsize = -1
    core = -1
    cpu = -1
    data = -1
    rss = -1
    stack = -1
    nofiles = -1
    threads = 1024

Threads per processor is now set to 1024 (-1 means unlimited). To verify this is working, log in as root and type in:

ulimit -a 

You should see threads show up as 1024.

share|improve this answer
i do not have root permission, though I got a solution thanks – Abhishek Simon Jul 27 '12 at 6:33

I found these

AIX     -> getconf -a | grep PTHREAD_THREADS_MAX
SOLARIS -> getconf -a | grep PTHREAD_THREADS_MAX
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.