niedziela, 10 maja 2015

How to check which command line parameters kernel was booted with

Good solution is to display file /proc/cmdline for example:
cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 root=UUID=eec16201-b3de-4f50-8536-930ec2f78152 ro quiet


When checking /proc/cmdline is useful?
When we want to check if parameters given during boot worked properly if e.g memmap worked properly.