The vxtune command allows you to display the values for tunable parameters in the following ways:
To display all of the VxVM tunable parameters
# vxtune [-u {h|unit}] [-lr]
The -l option displays a description along with the values in default units.
The -r option displays the tunable values in raw bytes.
The -uh option displays output in human-friendly units.
The Reboot column displays N if the value can be changed online. The column displays Y if a system reboot is required before the new value takes effect.
The following example shows a truncated output, that shows the format.
# vxtune
Tunable Current Value Default Value Reboot -------------------- ------------- ------------- ------ vol_checkpt_default 20480 20480 Y vol_cmpres_enabled 0 0 N vol_cmpres_threads 10 10 N vol_default_iodelay 50 50 Y vol_fmr_logsz 4 4 Y vol_max_adminio_poolsz 67108864 67108864 Y vol_max_nmpool_sz 67108864 67108864 N . . .
To display the tunables for a VxVM component
To check the list of recognized components, use the following command:
# vxtune help components
# vxtune component
For example, to display the supported tunables for VVR, use the following command:
# vxtune vvr
Tunable Current Value Default Value Reboot -------------------- ------------- ------------- ------ vol_cmpres_enabled 0 0 N vol_cmpres_threads 10 10 N vol_max_nmpool_sz 67108864 67108864 N vol_max_rdback_sz 134217728 134217728 N vol_max_wrspool_sz 67108864 67108864 N vol_min_lowmem_sz 540672 540672 N vol_nm_hb_timeout 10 10 N vol_rvio_maxpool_sz 105224192 134217728 N
Additional options are -l to display a description, -r to display the output in bytes, and -uh to display the output in human-friendly units.
To display the value of a specific tunable
# vxtune tunable_name
For example, to view the value of the tunable vol_rvio_maxpool_sz, use the following command:
# vxtune vol_rvio_maxpool_sz Tunable Current Value Default Value Reboot -------------------- ------------- ------------- ------ vol_rvio_maxpool_sz 105224192 134217728 N
Additional options are -l to display a description, -r to display the output in bytes, and -h to display the output in human-friendly units.
To display the output in bytes, use the vxtune command with the -r option.
# vxtune -r tunable_name
For example, to view the value of the tunable vol_max_wrspool_sz in bytes, use the following command:
# vxtune -r vol_max_wrspool_sz Tunable Current Value Default Value Reboot -------------------- ------------- ------------- ------ vol_max_wrspool_sz 67108864 67108864 N