Gibt es einen entsprechenden Befehl für kctune | grep max_thread_proc in SunOS und AIX?

1369
Abhishek Simon

Ich muss die maximalen Threads pro Prozessor in den folgenden Systemen finden. Bisher

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) -> ?? 

Bitte helfen Sie mir bei der Suche nach Solaris und AIX.

0

2 Antworten auf die Frage

0
awojo

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.

Ich habe keine root-Erlaubnis, obwohl ich dank Lösung eine Lösung bekam Abhishek Simon vor 11 Jahren 0
0
Abhishek Simon

I found these

AIX -> getconf -a | grep PTHREAD_THREADS_MAX SOLARIS -> getconf -a | grep PTHREAD_THREADS_MAX