0

I'm tryna write my own init. so fat ir just launches agetty tty1 and supports the commands poweroff, reboot, halt. for some reason when I use top or ps I see a bunch of processes, like 200 of them, but I didn't start any... How is this possible?

sef sf
  • 72
  • 7
  • It might help to provide some of the processes you're seeing, by editing the question. – Stephen Harris Dec 31 '22 at 14:16
  • @StephenHarris I seep to not be able to get files out of the VM. anywas, running `ps` shows me only tty and init actually (and ps), but `ps ax` or `top` show me a bunch of other things, a lot seem to be related to btrfs(?) and have their name in brackets like [btrfs...] – sef sf Dec 31 '22 at 20:40
  • 1
    They are probably kernel threads. See https://unix.stackexchange.com/a/78585/168757 – Stephen Harris Jan 01 '23 at 14:50

0 Answers0