Solved

AIX - ncargs configuration

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
building a service to accessed via telnet client, want colors ? 4 95
Linux "time" command output redirection 16 217
centos commands 6 88
UNIX Script. Send email if failure 8 56
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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…
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…

740 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