Generate a basic /proc/summary file with some info about all tasks.

This commit is contained in:
Andreas Kling 2018-10-23 12:44:46 +02:00
commit 63e253bac9
Notes: sideshowbarker 2024-07-19 18:44:48 +09:00
5 changed files with 35 additions and 5 deletions

View file

@ -138,7 +138,7 @@ static void init_stage2()
vfs->mount(procfs.copyRef(), "/proc");
{
auto motdFile = vfs->open("/motd.txt");
auto motdFile = vfs->open("/proc/summary");
ASSERT(motdFile);
auto motdData = motdFile->readEntireFile();