Solved

AIX - ncargs configuration

Posted on 2012-04-04
1
2,787 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

792 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