fw ctl get

Description

Shows the current value of the specified kernel parameter.

Important:

Notes:

Syntax

fw [-d] ctl get

      int <Name of Integer Kernel Parameter> [-a]

      str <Name of String Kernel Parameter> [-a]

Parameters

Parameter

Description

-d

Runs the command in debug mode.

Use only if you troubleshoot the command itself.

Best Practice - If you use this parameter, then redirect the output to a file, or use the script command to save the entire CLI session.

<Name of Integer Kernel Parameter>

Specifies the name of the integer kernel parameter.

<Name of String Kernel Parameter>

Specifies the name of the string kernel parameter.

-a

Specifies to search for this kernel parameter in this order:

  1. In $FWDIR/boot/modules/fw_*.o

  2. In $PPKDIR/boot/modules/sim_*.o

Example for an integer kernel parameter

[Expert@MyGW:0]# fw ctl get int fw_kdprintf_limit -a
FW:
fw_kdprintf_limit = 100
PPAK 0: fw_kdprintf_limit = 10
[Expert@MyGW:0]#

Example for a string kernel parameter

[Expert@MyGW:0]# fw ctl get str fileapp_default_encoding_charset -a
FW:
fileapp_default_encoding_charset = 'UTF-8'
PPAK 0: Get failed.
[Expert@MyGW:0]#