HPUX : Kernel Tunable parameters

/usr/sbin/kctune is the administrative command for HP-UX kernel tunable parameters.  It gives information about tunable parameters and their values, and makes changes to tunable values.

To list all tunable paramters :

# kctune
Tunable                       Value  Expression   Changes
NSTREVENT                        50  Default
NSTRPUSH                         16  Default
NSTRSCHED                         0  Default
STRCTLSZ                       1024  Default
STRMSGSZ                      65535  65535
acctresume                        4  Default
acctsuspend                       2  Default
aio_listio_max                  256  Default      Immed
aio_max_ops                    2048  Default      Immed
….
#

To list details about particular paramter:

# kctune -v -q maxuprc
Tunable             maxuprc
Description         Maximum number of processes for each non-root user
Module              pm
Current Value       29995
Value at Next Boot  29995
Value at Last Boot  29995
Default Value       256
Constraints         maxuprc >= 3
                    maxuprc <= nproc – 5
Can Change          Immediately or at Next Boot

Changing the paramter values :
 
# kctune maxuprc=29990
WARNING: The automatic ‘backup’ configuration currently contains the
         configuration that was in use before the last reboot of this
         system.
     ==> Do you wish to update it to contain the current configuration
         before making the requested change? y
       * The automatic ‘backup’ configuration has been updated.
       * The requested changes have been applied to the currently
         running system.
Tunable            Value  Expression  Changes
maxuprc  (before)  29995  29995       Immed
         (now)     29990  29990
        
Verify after changing :         

# kctune -v -q maxuprc
Tunable             maxuprc
Description         Maximum number of processes for each non-root user
Module              pm
Current Value       29990
Value at Next Boot  29990
Value at Last Boot  29995
Default Value       256
Constraints         maxuprc >= 3
                    maxuprc <= nproc – 5
Can Change          Immediately or at Next Boot

The maxuprc parameter is to set the maximum number of process a non-root user can run.
Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

Some Netapp terms..

Next Post

Vmware to Xen Conversion

Related Posts

dmidecode

Dmidecode reports information about your system’s hardware as described in your system BIOS. This command gives you vendor…
Read More