Skip to content

Commit

Permalink
[kernel] Display number of tasks, files and inodes at boot
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaerr committed Sep 3, 2024
1 parent 6fdef65 commit 769791e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elks/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ static void INITPROC kernel_banner(seg_t start, seg_t end, seg_t init, seg_t ext
printk("8018X machine, ");
#endif

printk("syscaps %x, %uK base ram\n", sys_caps, SETUP_MEM_KBYTES);
printk("syscaps %x, %uK base ram, %d tasks, %d files, %d inodes\n",
sys_caps, SETUP_MEM_KBYTES, max_tasks, nr_file, nr_inode);
printk("ELKS %s (%u text, %u ftext, %u data, %u bss, %u heap)\n",
system_utsname.release,
(unsigned)_endtext, (unsigned)_endftext, (unsigned)_enddata,
Expand Down

0 comments on commit 769791e

Please sign in to comment.