Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

linux-kernel

How to early configure Linux kernel to reboot on panic?

August 9, 2022 by Magenaut

You can put “panic=N” on the kernel command line to make the system reboot N seconds after a panic.

Categories Q&A, Unix & Linux Tags kernel-panic, linux, linux-kernel Leave a comment

256 colors in console (tty)

August 9, 2022 by Magenaut

Suppose, I have a system without X server. I can only log in from the console. It seems, by default linux console supports only 8 colors:

Categories Q&A, Unix & Linux Tags colors, console, linux-kernel, tty Leave a comment

How to restore a deleted file while it’s still being opened?

August 8, 2022 by Magenaut

I tried

Categories Q&A, Unix & Linux Tags linux-kernel Leave a comment

Do the virtual address spaces of all the processes have the same content in their “Kernel” parts?

August 8, 2022 by Magenaut

The Linux Programming Interface shows the layout of a virtual address space of a process:

Categories Q&A, Unix & Linux Tags linux, linux-kernel, virtual-memory Leave a comment

System calls supported in running Kernel

August 8, 2022 by Magenaut

Is there a way to get the number of or list of system calls supported by currently running Linux Kernel? So I want to find a way to ‘read’ the syscall table of a running kernel.

Categories Q&A, Unix & Linux Tags linux-kernel, system-calls Leave a comment

How to block drivers built-into Kernel, i.e. drivers who are not a module

August 8, 2022 by Magenaut

I configured and compiled Linux kernel with nouveau driver built-into kernel, i.e. with <*> as opposed to <M> when doing make menuconfig inside Linux kernel source directory.

Categories Q&A, Unix & Linux Tags drivers, kernel, kernel-modules, linux-kernel, modprobe Leave a comment

Why does rename() take longer when fsync() is called first?

August 8, 2022 by Magenaut

In this test, why does rename() take longer when fsync() is called first?

Categories Q&A, Unix & Linux Tags btrfs, linux-kernel, performance Leave a comment

Restrict size of buffer cache in Linux

August 7, 2022 by Magenaut

Is there a way to tell the Linux kernel to only use a certain percentage of memory for the buffer cache? I know /proc/sys/vm/drop_caches can be used to clear the cache temporarily, but is there any permanent setting that prevents it from growing to more than e.g. 50% of main memory?

Categories Q&A, Unix & Linux Tags buffer, linux-kernel Leave a comment

What does an idle CPU process do?

August 7, 2022 by Magenaut

Looking at the source of strace I found the use of the clone flag CLONE_IDLETASK which is described there as:

Categories Q&A, Unix & Linux Tags cpu, linux-kernel Leave a comment

How is nice working?

August 7, 2022 by Magenaut

sched_setscheduler says :

Categories Q&A, Unix & Linux Tags linux, linux-kernel, nice, scheduling Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 Page6 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress