Category ‘Kernel’
- TECHPULP |
How to free cached memory and dirty pages in Linux
When an application reads a file, Linux kernel keeps cache of file contents in memory. The Linux keeps the cache even after application closes the file to improve performance for further read operations of same file. This cache is freed... - TECHPULP |
How to see Linux kernel boot messages
The dmesg command can be used to view the boot messages printed by Linux kernel. The Linux kernel maintains a ring buffer (default size 16KB) to hold boot-time messages printed using printk() function call in kernel code. The dmesg command... - TECHPULP |
How to hide Linux Kernel boot messages
Often in embedded systems, one would like to hide/suppress the messages printed by Linux Kernel while booting. Linux Kernel supports a boot-time argument “quite“. If “quite” is given as one of the command-line arguments, Linux Kernel doesn’t not print most...