Displaying the current kernel parameter line

Red Hat Enterprise Linux 8.6 LPAR mode z/VM guest KVM guest

Read /proc/cmdline to find out with which kernel parameters a running Linux® instance was booted.

About this task

Apart from kernel parameters, which are evaluated by the Linux kernel, the kernel parameter line can contain parameters that are evaluated by user space programs, for example, modprobe.

Procedure

Read /proc/cmdline.
For example:
# cat /proc/cmdline
     vconsole.keymap=us 
     cio_ignore=all,!condev 
     crashkernel=auto  
     rd.zfcp=0.0.1707,0x500507630513c1ae,0x402140b600000000
     rd.zfcp=0.0.1807,0x500507630508c1ae,0x402140b600000000 
     vconsole.font=latarcyrheb-sun16 
     LANG=en_US.UTF-8 
     BOOT_IMAGE=0