Solved

AIX - ncargs configuration

Posted on 2012-04-04
1
2,721 Views
Last Modified: 2012-04-04
What is ncargs?

How do I check the system's current ncargs configuration is at?

How do I change the system's ncargs configuration?
0
Comment
Question by:AIX25
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 37808129
The ncargs value determines the ARG/ENV list size in 4K byte blocks.

Check with

lsattr -El sys0 -a ncargs -F value

Default is 6 (AIX 5) resp. 256 (AIX 6/7), the allowable range is from 6 to 1024 (AIX 5) resp. from 256 to 1024 (AIX 6/7)

Set with

chdev -l sys0 -a ncargs=new_value

ncargs can be raised to keep programs from failing with the arg list too long error message.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question