Skip to content

Magenaut

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

memory

Memory watchdog for hungry applications

August 11, 2022 by Magenaut

I have the following situation – I’ve got a remote PC with an encrypted drive. If the PC needs a restart, I need to be physically present to enter the decryption password because I don’t have any way of ssh-ing to it before the OS is loaded.

Categories Q&A, Unix & Linux Tags linux, memory, watchdog Leave a comment

How can I reserve a block of memory from the Linux kernel?

August 10, 2022 by Magenaut

I have a device that needs a block of memory that is reserved solely for it, without the OS intervening. Is there any way to tell BIOS or the OS that a block of memory is reserved, and it must not use it?

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

Why does Linux show both more and less memory than I physically have installed?

August 10, 2022 by Magenaut

I know about swap – this question isn’t about that. In dmesg, the Linux (x86-64) kernel tells me this about how much memory I have:

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

Does Linux perform “opportunistic swapping”, or is it a myth?

August 10, 2022 by Magenaut

Suppose a program asks for some memory, but there is not enough free memory left. There are several different ways Linux could respond. One response is to select some other used memory, which has not been accessed recently, and move this inactive memory to swap.

Categories Q&A, Unix & Linux Tags linux, memory, swap Leave a comment

How large are the “watermark” memory reservations on my system?

August 10, 2022 by Magenaut

swappiness This control is used to define how aggressive the kernel will swap memory pages. Higher values will increase aggressiveness, lower values decrease the amount of swap. A value of 0 instructs the kernel not to initiate swap until the amount of free and file-backed pages is less than the high water mark in a … Read more

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

What is the buffers column in the output from free?

August 10, 2022 by Magenaut

These questions briefly list the format of the free command, noting that buffers is kernel memory that must be written out to disk and cache is file data that does not need to be written disk.

Categories Q&A, Unix & Linux Tags cache, linux, memory Leave a comment

Is there a tool that allows logging of memory usage?

August 10, 2022 by Magenaut

I want to monitor memory usage of a process, and I want this data to be logged. Does such a tool exist?

Categories Q&A, Unix & Linux Tags memory, monitoring Leave a comment

MMU-less kernel?

August 10, 2022 by Magenaut

I would like to try compile mmu-less kernel. From what I found in configuration there is no option for such a thing. Is it possible to be done?

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

Getting information about a process’ memory usage from /proc/pid/smaps

August 9, 2022 by Magenaut

For a given process in /proc/<pid>/smaps, for a given mapping entry what are:

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

Loading of shared libraries and RAM usage

August 9, 2022 by Magenaut

I’m wondering about the way Linux manages shared libraries. (actually I’m talking about Maemo Fremantle, a Debian-based distro released in 2009 running on 256MB RAM).

Categories Q&A, Unix & Linux Tags executable, libraries, memory, ram Leave a comment
Older posts
Newer posts
← Previous Page1 … Page4 Page5 Page6 … Page8 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