Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

I found these

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

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:

root:
    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
add comment

Your Answer

 
discard

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.