Есть ли эквивалентная команда для kctune | grep max_thread_proc в SunOS и AIX?

1304
Abhishek Simon

Мне нужно найти максимальное количество потоков на процессор в следующих системах. До сих пор

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

Пожалуйста, помогите мне найти Solaris и AIX.

0

2 ответа на вопрос

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.

у меня нет прав root, хотя я получил решение спасибо Abhishek Simon 11 лет назад 0
0
Abhishek Simon

Я нашел эти

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

Похожие вопросы