Solved

AIX - ncargs configuration

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ovirt 3.6 guest VM support oracle solaris 4 64
IBM flash storage 840 15 58
Convert OverPunch 25 62
Showing a username in UNIX and using that name in the script 4 12
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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

948 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now