Reading memory on Linux
Why available memory is more useful than free memory, and what swap actually tells us.
Read note →Practical notes on running Linux, building for the open web, and keeping everyday software simple.
Browse the notesLinux · Web · Operations
Why available memory is more useful than free memory, and what swap actually tells us.
Read note →A few principles for fast, durable websites without a large application stack.
Read note →Separate data from configuration, keep an independent copy, and test the restore.
Read note →Linux uses spare memory to cache frequently accessed files. A small value in the free column is not by itself a problem: the available column estimates how much memory applications can use without swapping.
free -h vmstat 1 5
Look for sustained swap-in and swap-out activity, rather than simply whether some swap space is occupied. Compare measurements under typical workloads before changing memory settings.
For a notebook or documentation site, plain HTML and CSS can be enough. Semantic headings, local assets, responsive layouts and readable text make a page usable without a JavaScript framework.
Use a real certificate for HTTPS, keep the web server updated, and only enable features the site needs. Check that links work and that pages remain usable on a narrow screen.
curl -I https://example.com
The response headers provide a quick check of status and content type. Replace the example domain with the site being tested.
Make a list of the data that cannot simply be downloaded again: notes, site files, service configuration and credentials. Keep an encrypted copy of sensitive material in a separate location.
A snapshot is useful for rolling back a system change, but an independent backup helps when the original provider or account becomes unavailable. Test restoring a small file, and occasionally rehearse a full recovery.
Useful primary documentation
Fieldnotes is a small collection of technical reference notes. Its focus is on practical explanations and uncomplicated tools. The articles are intended as starting points for learning; consult the linked primary documentation for platform-specific details.
This site uses static HTML and CSS, with no tracking scripts, account system or external font dependencies.