?
Solved

AIX - ncargs configuration

Posted on 2012-04-04
1
Medium Priority
?
3,023 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

770 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