Checking the Kernel Command Line Last Used to Boot The System

The kernel boot parameters that were last used to boot a system are recorded in /proc/cmdline.

For more information, see the kernel-command-line(7) manual page.

  1. Check the contents of /proc/cmdline to view the kernel command line that was used to boot the running system.
    cat /proc/cmdline
    BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.12.0-100.28.2.el10.x86_64 
    root=/dev/mapper/ol-root ro 
    resume=UUID=b2136352-95d6-4eb7-93db-8f0ca4da7238
    rd.luks.uuid=luks-a80f8f10-75b6-45de-b63e-64b8b6a3a94b 
    crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M rhgb quiet