Print Download PDF Send Feedback

Previous

Next

fw ctl get

Description

Shows the current value of the specified kernel parameter.

Notes:

Important:

In addition, see the fw ctl set command.

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.

<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/modules/fw_*.o
  2. In $PPKDIR/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

SIM:

fw_kdprintf_limit = 100

[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'

SIM:

Failed to get from ppak

[Expert@MyGW:0]#

Related SK article

sk33156: Creating a file with all the kernel parameters and their values