cosmopolitan/tool/net
Justine Tunney 80b211e314 Add raw memory visualization tool to redbean
This change introduces a `-W /dev/pts/1` flag to redbean. What it does
is use the mincore() system call to create a dual-screen terminal
display that lets you troubleshoot the virtual address space. This is
useful since page faults are an important thing to consider when using a
forking web server. Now we have a colorful visualization of which pages
are going to fault and which ones are resident in memory.

The memory monitor, if enabled, spawns as a thread that just outputs
ANSI codes to the second terminal in a loop. In order to make this
happen using the new clone() polyfill, stdio is now thread safe.

This change also introduces some new demo pages to redbean. It also
polishes the demos we already have, to look a bit nicer and more
presentable for the upcoming release, with better explanations too.
2022-05-14 04:33:58 -07:00
..
demo Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
tiny Fix bugs with recent change 2022-04-16 10:40:23 -07:00
.init.lua Add SSL to redbean 2021-06-24 13:20:50 -07:00
counters.inc Make improvements to redbean 2021-07-08 15:56:23 -07:00
dig.c Restart CI for New Technology and UBSAN hunting 2022-03-21 04:32:57 -07:00
echo.c Make more fixes and improvements 2022-04-21 13:44:59 -07:00
favicon.ico Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
help.txt Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
largon2.c Improve redbean 2022-04-25 08:30:14 -07:00
lfuncs.c Polish redbean serialization 2022-04-29 06:10:10 -07:00
lfuncs.h Polish redbean serialization 2022-04-29 06:10:10 -07:00
lmaxmind.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
lre.c Trim down redbean a little bit 2022-03-21 19:32:30 -07:00
lsqlite3.c Improve redbean 2022-04-25 08:30:14 -07:00
luacheck.h Fix reporting of Lua stack items from various hook calls (#395) 2022-04-27 21:57:52 -07:00
lunix.c Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
net.mk Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
redbean.c Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
redbean.png Make improvements 2020-09-14 00:02:34 -07:00
sandbox.h Make improvements 2022-04-28 09:57:07 -07:00
wb.c Improve synchronization 2022-04-15 15:31:55 -07:00