Userspace: Add very simple top program

This is very bare bones but does show what programs use most cpu and
memory
This commit is contained in:
2026-06-26 01:52:08 +03:00
parent 9919cbf66e
commit 32c10f7db2
3 changed files with 240 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
set(SOURCES
main.cpp
)
add_executable(top ${SOURCES})
banan_link_library(top ban)
banan_link_library(top libc)
install(TARGETS top OPTIONAL)